Remove debugging logging

This commit is contained in:
Juan Cruz Viotti 2015-01-28 15:40:00 -04:00
parent 0d06524162
commit d75a19fc6e

View File

@ -12,9 +12,7 @@ DISK_IO_FLAGS = 'rs+'
exports.rescanDrives = (callback) -> exports.rescanDrives = (callback) ->
return callback() if not IS_WINDOWS return callback() if not IS_WINDOWS
diskpartRescanScriptPath = path.join(__dirname, 'scripts', 'diskpart_rescan') diskpartRescanScriptPath = path.join(__dirname, 'scripts', 'diskpart_rescan')
childProcess.exec "diskpart /s \"#{diskpartRescanScriptPath}\"", {}, (error) -> childProcess.exec("diskpart /s \"#{diskpartRescanScriptPath}\"", {}, _.unary(callback))
console.log("DISKPART RESULT: #{arguments}")
return callback(error)
exports.eraseMBR = (devicePath, callback) -> exports.eraseMBR = (devicePath, callback) ->
return callback() if not IS_WINDOWS return callback() if not IS_WINDOWS