Skip to content

Commit

Permalink
Fixes a typo in manifest checks (#3811)
Browse files Browse the repository at this point in the history
Previously: "Shortcuts have atleast a 96x96 icon"

Now: "Shortcuts have at least a 96x96 icon
  • Loading branch information
JudahGabriel committed Feb 1, 2023
1 parent eb2bb20 commit 9b9dfe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/manifest-validation/src/validations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,13 +429,13 @@ export const maniTests: Array<Validation> = [
},
{
infoString: "The shortcuts member defines an array of shortcuts or links to key tasks or pages within a web app. Shortcuts will show as jumplists on Windows and on the home screen on Android.",
displayString: "Shortcuts have atleast a 96x96 icon",
displayString: "Shortcuts have at least a 96x96 icon",
category: "recommended",
member: "shortcuts",
defaultValue: [],
docsLink:
"https://docs.pwabuilder.com/#/builder/manifest?id=shortcuts-array",
errorString: "shortcuts should have atleast one icon with a size of 96x96",
errorString: "shortcuts should have at least one icon with a size of 96x96",
quickFix: false,
test: (value: any[]) => {
const isArray = value && Array.isArray(value);
Expand Down Expand Up @@ -767,4 +767,4 @@ export async function loopThroughKeys(manifest: Manifest): Promise<Array<Validat

resolve({"valid": singleField, "errors": failedTests});
})
}
}

0 comments on commit 9b9dfe1

Please sign in to comment.