Skip to content

Commit

Permalink
fixed error (#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann authored Dec 3, 2024
1 parent 12c6fb0 commit ddd0669
Show file tree
Hide file tree
Showing 4 changed files with 1,096 additions and 325 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@
"dependencies": {
"@changesets/changelog-github": "0.4.1",
"@changesets/cli": "2.17.0",
"@github/prettier-config": "0.0.4",
"@github/prettier-config": "0.0.6",
"ava": "2.1.0",
"braces": "2.3.1",
"cheerio": "1.0.0-rc.3",
"eslint": "8.0.1",
"eslint-plugin-github": "4.3.5",
"eslint-plugin-prettier": "4.0.0",
"eslint": "8.57.1",
"eslint-plugin-github": "5.0.2",
"eslint-plugin-prettier": "5.2.1",
"execa": "4.0.0",
"fs-extra": "7.0.1",
"globby": "11.0.0",
"js-yaml": "3.13.1",
"prettier": "3.4.1",
"lodash.merge": "4.6.2",
"svgo": "3.0.2",
"svgson": "5.2.1",
Expand All @@ -49,6 +50,5 @@
"github/no-then": 0,
"eslint-comments/no-use": 0
}
},
"packageManager": "yarn@1.22.1"
}
}
2 changes: 1 addition & 1 deletion tests/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test('builds an object with the correct shape', t => {
return execa(
path.resolve(__dirname, '../script/build.js'),
['--input', 'icons/icon-a-16.svg', './icons/icon-a-24.svg', './icons/icon-b-16.svg'],
{cwd: __dirname}
{cwd: __dirname},
).then(({stdout}) => {
const icons = JSON.parse(stdout)
t.snapshot(icons)
Expand Down
2 changes: 1 addition & 1 deletion tests/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ for (const octicon of Object.values(octiconsData)) {
test(`No duplicate ${octicon.name} icon`, t => {
if (names[octicon.name]) {
t.fail(
`Found duplicate '${octicon.name}' icons in the figma file. Please rename one of them. https://www.figma.com/file/${octicon.file}?node-id=${octicon.id}`
`Found duplicate '${octicon.name}' icons in the figma file. Please rename one of them. https://www.figma.com/file/${octicon.file}?node-id=${octicon.id}`,
)
} else {
names[octicon.name] = octicon
Expand Down
Loading

0 comments on commit ddd0669

Please sign in to comment.