Skip to content

Commit

Permalink
Update octicon version (#1652)
Browse files Browse the repository at this point in the history
  • Loading branch information
ong6 committed Sep 18, 2021
1 parent efc101c commit 306fb05
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 13 deletions.
72 changes: 63 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions packages/cli/test/functional/testUtil/compare.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const diffChars = require('./diffChars');
const _ = {};
_.isEqual = require('lodash/isEqual');

// Other files to ignore / files with binary extensions not recognised by istextorbinary package
// Other files to ignore / files with binary extensions not recognized by istextorbinary package
const TEST_BLACKLIST = ignore().add([
'*.log',
'*.woff',
Expand All @@ -24,6 +24,7 @@ function _readFileSync(...paths) {
return fs.readFileSync(path.resolve(...paths), 'utf8');
}

// Used to compare files expected to be generated by the build process against the expected files
function compare(root, expectedSiteRelativePath = 'expected', siteRelativePath = '_site') {
const expectedDirectory = path.join(root, expectedSiteRelativePath);
const actualDirectory = path.join(root, siteRelativePath);
Expand Down Expand Up @@ -65,7 +66,9 @@ function compare(root, expectedSiteRelativePath = 'expected', siteRelativePath =
}
/* eslint-enable no-continue */

if (error) throw new Error('Diffs found in files');
if (error) {
throw new Error('Diffs found in files');
}
}

module.exports = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@fortawesome/fontawesome-free": "^5.14.0",
"@markbind/core-web": "^3.0.6",
"@primer/octicons": "^9.3.1",
"@primer/octicons": "^15.0.1",
"@sindresorhus/slugify": "^0.9.1",
"bluebird": "^3.7.2",
"bootswatch": "^4.4.1",
Expand Down Expand Up @@ -71,4 +71,4 @@
"jest": "^26.1.0",
"memfs": "^3.0.1"
}
}
}

0 comments on commit 306fb05

Please sign in to comment.