Skip to content

Commit

Permalink
fix: railway check version
Browse files Browse the repository at this point in the history
  • Loading branch information
flpnascto committed Mar 11, 2023
1 parent 5ba2e63 commit f0c1af0
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 @@ -2183,7 +2183,7 @@ function run() {
core.debug("Railway CLI Path: " + resolvedPath);
}
});
yield exec.exec("railway", ["version"]);
yield exec.exec("railway", ["--version"]);
}
catch (error) {
core.setFailed(error.message);
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async function run(): Promise<void> {
core.debug("Railway CLI Path: " + resolvedPath);
}
});
await exec.exec("railway", ["version"]);
await exec.exec("railway", ["--version"]);
} catch (error) {
core.setFailed(error.message);
}
Expand Down

0 comments on commit f0c1af0

Please sign in to comment.