fix: do not delete the existing procfile if it does not exist
This commit is contained in:
1 parent
231e562b8d
commit
0857e51c43
1 file changed
+2
@@ -35,10 +35,12 @@ func TriggerCorePostDeploy(appName string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if common.FileExists(existingProcfile) {
|
||||||
if err := os.Remove(existingProcfile); err != nil {
|
if err := os.Remove(existingProcfile); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
entries := map[string]string{
|
entries := map[string]string{
|
||||||
"DOKKU_APP_RESTORE": "1",
|
"DOKKU_APP_RESTORE": "1",
|
||||||
|
|||||||
Reference in new issue
Block a user