refactor: check for extracted file and add logging message

This commit is contained in:
Jose Diaz-Gonzalez
2025-06-19 20:53:20 -04:00
parent 4ae9cca6f1
commit 2324cb888b

View File

@@ -141,7 +141,8 @@ func TriggerCorePostExtract(appName string, sourceWorkDir string) error {
}
}
if hasAppJSON(appName) {
if common.FileExists(processSpecificAppJSON) {
common.LogInfo1("Validating app.json file")
result, err := common.CallPlugnTrigger(common.PlugnTriggerInput{
Trigger: "app-json-is-valid",
Args: []string{appName, processSpecificAppJSON},