       '--userconfig', config.getUserConfigPath()
       @getNpmBuildFlags()...
     ]
-    installArgs.push('--verbose') if options.argv.verbose?
+    installArgs.push('--verbose') if options.argv.verbose
 
     if vsArgs = @getVisualStudioFlags()
       installArgs.push(vsArgs)

    @updateWindowsEnv(env) if config.isWin32()
    @addNodeBinToEnv(env)
    @addProxyToEnv(env)
    installOptions = {env, streaming: options.argv.verbose?}

    @fork @atomNpmPath, installArgs, installOptions, (args...) =>
      @logCommandResults(callback, args...)


  installModules: (options, callback) ->
    process.stdout.write 'Installing locked modules'
    if options.argv.verbose
      process.stdout.write '\n'
    else
      process.stdout.write ' '
