Skip to content

Commit 2b3db88

Browse files
Update internal/orchestrator/cache.go
Co-authored-by: Luca Rinaldi <to@lucar.in>
1 parent 015582e commit 2b3db88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/orchestrator/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func CleanAppCache(
2727
if err != nil {
2828
return err
2929
}
30-
if runningApp.FullPath.EqualsTo(app.FullPath) {
30+
if runningApp != nil && runningApp.FullPath.EqualsTo(app.FullPath) {
3131
if !req.ForceClean {
3232
return ErrCleanCacheRunningApp
3333
}

0 commit comments

Comments
 (0)