Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Aug 6, 2024
1 parent 0c39d22 commit cea1799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45829,7 +45829,7 @@ async function runWorkflow(bufPath, inputs, moduleNames) {
steps.build = await build(bufPath, inputs);
if (steps.build.status == Status.Failed) {
if (steps.build.stderr.match(/had no .proto files/)) {
core.info("Empty repository detected, ensure the repository is checked out");
core.info('Empty repository detected, did you forget to add the "actions/checkout@v4" checkout step?');
return steps;
}
return steps;
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async function runWorkflow(
if (steps.build.status == Status.Failed) {
if (steps.build.stderr.match(/had no .proto files/)) {
core.info(
"Empty repository detected, ensure the repository is checked out",
'Empty repository detected, did you forget to add the "actions/checkout@v4" checkout step?',
);
return steps;
}
Expand Down

0 comments on commit cea1799

Please sign in to comment.