🔥 Extra // in eslint comment

This commit is contained in:
Michelle Tilley
2016-10-29 21:17:49 -07:00
parent 8abdabb66d
commit 57e36562df

View File

@@ -76,7 +76,7 @@ Object.assign(PackageTranspilationRegistry.prototype, {
// This means searching for a config for `/path/to/file/here.js` only
// only iterates four times, even if there are hundreds of configs registered.
while (thisPath !== lastPath) { // until we reach the root
if (config = this.configByPackagePath[thisPath]) { // // eslint-disable-line no-cond-assign
if (config = this.configByPackagePath[thisPath]) { // eslint-disable-line no-cond-assign
for (var i = 0; i < config.specs.length; i++) {
spec = config.specs[i]
if (minimatch(filePath, path.join(config.path, spec.glob))) {