Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/install/filter-invalid-actions.js')
-rw-r--r--lib/install/filter-invalid-actions.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/install/filter-invalid-actions.js b/lib/install/filter-invalid-actions.js
index 311a60863..e844e0a3f 100644
--- a/lib/install/filter-invalid-actions.js
+++ b/lib/install/filter-invalid-actions.js
@@ -7,17 +7,17 @@ module.exports = function (top, differences, next) {
validate('SAF', arguments)
var action
var keep = []
+ /*eslint no-cond-assign:0*/
while (action = differences.shift()) {
var cmd = action[0]
var pkg = action[1]
if (pkg.isInLink || pkg.parent.target) {
log.warn('skippingAction', 'Module is inside a symlinked module: not running ' +
cmd + ' ' + pkg.package._id + ' ' + path.relative(top, pkg.path))
- }
- else {
+ } else {
keep.push(action)
}
}
differences.push.apply(differences, keep)
next()
-} \ No newline at end of file
+}