fix: reformat existing buildpacks files
Previously, the shorthand was not properly supported. While this _should_ be the domain of the gliderlabs/herokuish repository, we do it here as a courtesy to Dokku users. Additionally, support the heroku-community => heroku mapping. Closes #4452
This commit is contained in:
1 parent
3a048d515a
commit
6787b82ec0
3 files changed
+60
-2
No files matched your search
@@ -78,7 +78,7 @@ func TriggerPostExtract(appName string, sourceWorkDir string) error {
|
||||
}
|
||||
|
||||
if len(buildpacks) == 0 {
|
||||
return nil
|
||||
return rewriteBuildpacksFile(sourceWorkDir)
|
||||
}
|
||||
|
||||
buildpacksPath := filepath.Join(sourceWorkDir, ".buildpacks")
|
||||
|
||||
Reference in new issue
Block a user