refactor: check for extracted file and add logging message
This commit is contained in:
@@ -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{
|
result, err := common.CallPlugnTrigger(common.PlugnTriggerInput{
|
||||||
Trigger: "app-json-is-valid",
|
Trigger: "app-json-is-valid",
|
||||||
Args: []string{appName, processSpecificAppJSON},
|
Args: []string{appName, processSpecificAppJSON},
|
||||||
|
|||||||
Reference in New Issue
Block a user