Skip to content

Commit

Permalink
Fix ESLint error (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDancingCode authored and jackfranklin committed Feb 3, 2018
1 parent 55cf056 commit 174cd3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ module.exports = function(options) {
var err;
if (object[requireName]) {
logDebug('error: defineProperty ' + name);
err = maintainScope ?
'Could not define the property "' + requireName + '", you may have repeated dependencies in your package.json like' + ' "gulp-' + requireName + '" and ' + '"' + requireName + '"' :
'Could not define the property "' + requireName + '", you may have repeated a dependency in another scope like' + ' "gulp-' + requireName + '" and ' + '"@foo/gulp-' + requireName + '"';
err = maintainScope
? 'Could not define the property "' + requireName + '", you may have repeated dependencies in your package.json like' + ' "gulp-' + requireName + '" and ' + '"' + requireName + '"'
: 'Could not define the property "' + requireName + '", you may have repeated a dependency in another scope like' + ' "gulp-' + requireName + '" and ' + '"@foo/gulp-' + requireName + '"';
throw new Error(err);
}

Expand Down

0 comments on commit 174cd3b

Please sign in to comment.