Skip to content

Commit

Permalink
fixup! Add option to not revoke token
Browse files Browse the repository at this point in the history
  • Loading branch information
tibdex committed Sep 19, 2023
1 parent e91e1a0 commit 6eb69dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dist"
],
"scripts": {
"build": "npm run build:main && npm run build:post",
"build": "npm run build:main",
"build:main": "npm run compile -- --out ./dist/main src/main.ts ",
"build:post": "npm run compile -- --out ./dist/post src/post.ts",
"compile": "ncc build --minify --no-cache --target es2022 --v8-cache",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { run } from "./run.js";
import { getInput } from "@actions/core";

await run(async () => {
console.log(JSON.stringify({value: getInput("revoke")}));
console.log(JSON.stringify({value: JSON.parse(getInput("revoke"))}));
});

0 comments on commit 6eb69dd

Please sign in to comment.