Merge pull request #1349 from github/henrymercer/improve-focus-when-init-fails

Improve experience when init fails before generating a config file
This commit is contained in:
Henry Mercer
2022-11-08 11:31:43 +00:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -13,8 +13,8 @@ export async function run(
const config = await getConfig(actionsUtil.getTemporaryDirectory(), logger);
if (config === undefined) {
throw new Error(
"Config file could not be found at expected location. Did the 'init' action fail to start?"
logger.warning(
"Debugging artifacts are unavailable since the 'init' Action failed before it could produce any."
);
}