mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Log path lookup
This commit is contained in:
@@ -92,6 +92,8 @@ updatePath = (callback) ->
|
||||
|
||||
getPath = (callback) ->
|
||||
spawnReg ['query', environmentKeyPath, '/v', 'Path'], (error, stdout) ->
|
||||
console.log error
|
||||
console.log stdoutg
|
||||
return callback(error) if error?
|
||||
|
||||
lines = stdout.split(/[\r\n]+/).filter (line) -> line
|
||||
|
||||
Reference in New Issue
Block a user