mirror of
https://github.com/mshick/add-pr-comment.git
synced 2026-01-01 14:49:44 +11:00
update lib
This commit is contained in:
parent
80f4918ea8
commit
a0bbba521b
2 changed files with 4 additions and 1 deletions
|
|
@ -144,6 +144,9 @@ const run = async () => {
|
||||||
if (err instanceof Error) {
|
if (err instanceof Error) {
|
||||||
core.setFailed(err.message);
|
core.setFailed(err.message);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
core.setFailed('unknown failure');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Don't auto-execute in the test environment
|
// Don't auto-execute in the test environment
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"clean": "rm -rf node_modules dist package-lock.json __tests__/runner/**/*",
|
"clean": "rm -rf node_modules dist package-lock.json __tests__/runner/**/*",
|
||||||
"lint": "eslint src/**/*.ts",
|
"lint": "eslint src/**/*.ts",
|
||||||
"package": "ncc build --source-map --license licenses.txt",
|
"package": "ncc build --source-map",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"watch": "vitest"
|
"watch": "vitest"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue