Skip to content

Commit

Permalink
Chore: avoid unnecessary feature detection for Symbol (#7992)
Browse files Browse the repository at this point in the history
The Symbol global exists in all Node versions supported by eslint.
  • Loading branch information
not-an-aardvark authored and gyandeeps committed Jan 28, 2017
1 parent 5d57c57 commit 5ae6e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/glob.js
Expand Up @@ -15,7 +15,7 @@ const Sync = require("glob").GlobSync,
// Private
//------------------------------------------------------------------------------

const IGNORE = typeof Symbol === "function" ? Symbol("ignore") : "_shouldIgnore";
const IGNORE = Symbol("ignore");

/**
* Subclass of `glob.GlobSync`
Expand Down

0 comments on commit 5ae6e00

Please sign in to comment.