@@ -31,7 +31,7 @@ const Node = require('../node.js')
3131const Link = require ( '../link.js' )
3232const addRmPkgDeps = require ( '../add-rm-pkg-deps.js' )
3333const optionalSet = require ( '../optional-set.js' )
34- const { checkEngine, checkPlatform} = require ( 'npm-install-checks' )
34+ const { checkEngine, checkPlatform } = require ( 'npm-install-checks' )
3535
3636const relpath = require ( '../relpath.js' )
3737
@@ -311,7 +311,7 @@ module.exports = cls => class IdealTreeBuilder extends cls {
311311 ? Shrinkwrap . reset ( {
312312 path : this . path ,
313313 lockfileVersion : this . options . lockfileVersion ,
314- } ) . then ( meta => Object . assign ( root , { meta} ) )
314+ } ) . then ( meta => Object . assign ( root , { meta } ) )
315315 : this . loadVirtual ( { root } ) )
316316
317317 // if we don't have a lockfile to go from, then start with the
@@ -492,7 +492,7 @@ module.exports = cls => class IdealTreeBuilder extends cls {
492492
493493 // This returns a promise because we might not have the name yet,
494494 // and need to call pacote.manifest to find the name.
495- [ _add ] ( tree , { add, saveType = null , saveBundle = false } ) {
495+ [ _add ] ( tree , { add, saveType = null , saveBundle = false } ) {
496496 // get the name for each of the specs in the list.
497497 // ie, doing `foo@bar` we just return foo
498498 // but if it's a url or git, we don't know the name until we
@@ -936,7 +936,7 @@ This is a one-time fix-up, please be patient...
936936 }
937937 } )
938938
939- tasks . push ( { edge, dep} )
939+ tasks . push ( { edge, dep } )
940940 }
941941
942942 const placeDeps = tasks
@@ -1271,7 +1271,7 @@ This is a one-time fix-up, please be patient...
12711271 // we typically only install non-optional peers, but we have to
12721272 // factor them into the peerSet so that we can avoid conflicts
12731273 . filter ( e => e . peer && ! ( e . valid && e . to ) )
1274- . sort ( ( { name : a } , { name : b } ) => localeCompare ( a , b ) )
1274+ . sort ( ( { name : a } , { name : b } ) => localeCompare ( a , b ) )
12751275
12761276 for ( const edge of peerEdges ) {
12771277 // already placed this one, and we're happy with it.
@@ -1280,7 +1280,7 @@ This is a one-time fix-up, please be patient...
12801280 }
12811281
12821282 const parentEdge = node . parent . edgesOut . get ( edge . name )
1283- const { isProjectRoot, isWorkspace} = node . parent . sourceReference
1283+ const { isProjectRoot, isWorkspace } = node . parent . sourceReference
12841284 const isMine = isProjectRoot || isWorkspace
12851285 const conflictOK = this [ _force ] || ! isMine && ! this [ _strictPeerDeps ]
12861286
0 commit comments