Skip to content

Commit

Permalink
fix(.npmrc): modify wrong cwd for exec
Browse files Browse the repository at this point in the history
  • Loading branch information
cycjimmy committed Oct 26, 2019
1 parent 2ad69c4 commit 6cfcf38
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6cfcf38

Please sign in to comment.