Permalink
Browse files

install: fix checking for dev dep

  • Loading branch information...
larsgw committed Oct 8, 2018
1 parent 7390cd8 commit 20815568b1f09ff8f60fc229078e2bb9287061af
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/install/is-only-dev.js
@@ -28,6 +28,7 @@ function andIsOnlyDev (name, seen) {
return isDev && !isProd
} else {
if (seen.has(req)) return true
seen = new Set(seen)
seen.add(req)
return isOnlyDev(req, seen)
}

0 comments on commit 2081556

Please sign in to comment.