Skip to content

Commit b1dba49

Browse files
committed
Tweak wording in post step
1 parent 2492052 commit b1dba49

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎js/post.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ const { STATE_SOCKET_PATH, STATE_BINARY_PATH } = require("./state");
77
const socketPath = core.getState(STATE_SOCKET_PATH);
88
const binaryPath = core.getState(STATE_BINARY_PATH);
99

10+
// If either of these isn't set it means the `main` step failed.
1011
if (!socketPath || !binaryPath) {
11-
core.info("No saved daemon state found; skipping shutdown.");
12+
core.info("Action state is missing, skipping post step");
1213
process.exit(0);
1314
}
1415

15-
core.info(`Stopping daemon via socket '${socketPath}'`);
16-
1716
const { status } = spawnSync(binaryPath, ["drain", "--socket", socketPath], {
1817
stdio: "inherit",
1918
});

0 commit comments

Comments
 (0)