5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 10:46:56 +00:00

fix(.npmrc): modify wrong cwd for exec

This commit is contained in:
cycjimmy 2019-10-26 16:26:11 +08:00
parent 2ad69c46d8
commit 6cfcf38c9b

View file

@ -62,9 +62,7 @@ const release = async () => {
// Clean up `.npmrc` file in the repo after releasing
{
const {stdout, stderr} = await exec(`rm -f .npmrc`, {
cwd: path.resolve(__dirname)
});
const {stdout, stderr} = await exec(`rm -f .npmrc`);
core.debug(stdout);
if (stderr) {
core.debug(stderr);