fix: Use fat arrow for cleanup method

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
Cameron Diver 2018-10-23 19:13:34 +01:00
parent 1879c76b00
commit 64de3d2f63
No known key found for this signature in database
GPG Key ID: 69264F9C923F55C1

View File

@ -143,7 +143,7 @@ module.exports = class ApplicationManager extends EventEmitter
saveImage: (step) =>
@images.save(step.image)
cleanup: (step) =>
@config.get('localMode').then (localMode) ->
@config.get('localMode').then (localMode) =>
if !checkTruthy(localMode)
@images.cleanup()
createNetworkOrVolume: (step) =>