fix: correctly namespace the lock file

This commit is contained in:
Jose Diaz-Gonzalez
2024-02-09 14:38:43 -05:00
parent b7a3ef2f8a
commit f0c6f45596
2 changed files with 16 additions and 16 deletions

View File

@@ -96,7 +96,7 @@ func destroyApp(appName string) error {
// returns the lock path
func getLockPath(appName string) string {
return fmt.Sprintf("%v/.deploy.lock", common.GetDataDirectory(appName))
return fmt.Sprintf("%v/.deploy.lock", common.GetAppDataDirectory("apps", appName))
}
// creates an app if allowed