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:
parent
2ad69c46d8
commit
6cfcf38c9b
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue