Remove done message at the end of windosu execution

This commit is contained in:
Juan Cruz Viotti 2015-01-29 12:29:35 -04:00
parent 38139ed169
commit 3e938f7808

View File

@ -194,7 +194,6 @@ exports.init =
# Need to escape everypath to avoid errors # Need to escape everypath to avoid errors
resinWritePath = "\"#{path.join(__dirname, '..', '..', 'bin', 'resin-write')}\"" resinWritePath = "\"#{path.join(__dirname, '..', '..', 'bin', 'resin-write')}\""
windosu.exec("node #{resinWritePath} \"#{params.image}\" \"#{params.device}\"").then -> windosu.exec("node #{resinWritePath} \"#{params.image}\" \"#{params.device}\"")
console.log 'Done'
else else
return done(error) return done(error)