mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 13:47:52 +00:00
Remove debugging logging
This commit is contained in:
parent
0d06524162
commit
d75a19fc6e
@ -12,9 +12,7 @@ DISK_IO_FLAGS = 'rs+'
|
||||
exports.rescanDrives = (callback) ->
|
||||
return callback() if not IS_WINDOWS
|
||||
diskpartRescanScriptPath = path.join(__dirname, 'scripts', 'diskpart_rescan')
|
||||
childProcess.exec "diskpart /s \"#{diskpartRescanScriptPath}\"", {}, (error) ->
|
||||
console.log("DISKPART RESULT: #{arguments}")
|
||||
return callback(error)
|
||||
childProcess.exec("diskpart /s \"#{diskpartRescanScriptPath}\"", {}, _.unary(callback))
|
||||
|
||||
exports.eraseMBR = (devicePath, callback) ->
|
||||
return callback() if not IS_WINDOWS
|
||||
|
Loading…
Reference in New Issue
Block a user