mirror of
https://github.com/atom/atom.git
synced 2026-02-15 17:15:24 -05:00
Use consistent quotes
This commit is contained in:
@@ -14,8 +14,8 @@ class LoadPathsTask
|
||||
|
||||
command = require.resolve 'nak'
|
||||
args = ['-l', rootPath]
|
||||
args.unshift("--addVCSIgnores") if config.get('nak.addVCSIgnores')
|
||||
args.unshift("-d", ignoredNames.join(',')) if ignoredNames.length > 0
|
||||
args.unshift('--addVCSIgnores') if config.get('nak.addVCSIgnores')
|
||||
args.unshift('-d', ignoredNames.join(',')) if ignoredNames.length > 0
|
||||
|
||||
paths = []
|
||||
deferred = $.Deferred()
|
||||
@@ -26,7 +26,7 @@ class LoadPathsTask
|
||||
@callback(paths)
|
||||
deferred.resolve()
|
||||
stdout = (data) ->
|
||||
paths = paths.concat(_.compact(data.split("\n")))
|
||||
paths = paths.concat(_.compact(data.split('\n')))
|
||||
|
||||
@process = new BufferedProcess({command, args, stdout, exit})
|
||||
deferred
|
||||
|
||||
Reference in New Issue
Block a user