Skip to content

Commit

Permalink
fix sindresorhus#166 issue again
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury Shapkarin committed Jul 6, 2020
1 parent 0416765 commit 214f522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update/get-browser-globals/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const blacklist = [
];

const globals = Object.getOwnPropertyNames(window)
.sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase()))
.sort((a, b) => a.localeCompare(b))
.filter(global => {
for (const pattern of blacklist) {
if (typeof pattern === 'string') {
Expand Down

0 comments on commit 214f522

Please sign in to comment.