Skip to content

Commit a4fe152

Browse files
committed
Log when we didn't get a normal configuration file
1 parent bf0c207 commit a4fe152

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎lib/entry-points.js‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/init-action-post.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ async function run(action: ActionState<["Base", "Logger", "Env"]>) {
7676
// Try to load the "failed" configuration file instead which may have been written by the `init` step
7777
// with a minimal configuration for this post-action.
7878
if (config === undefined) {
79+
logger.debug(
80+
"Will try to load the configuration file from an aborted 'init' step, since there is no regular one.",
81+
);
7982
config = getAbortedInitConfig(action, tmpDir);
8083
}
8184

0 commit comments

Comments
 (0)