mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 11:16:34 +00:00
fix: Use fat arrow for cleanup method
Change-type: patch Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
parent
1879c76b00
commit
64de3d2f63
@ -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) =>
|
||||
|
Loading…
Reference in New Issue
Block a user