mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 18:56: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
|
// Clean up `.npmrc` file in the repo after releasing
|
||||||
{
|
{
|
||||||
const {stdout, stderr} = await exec(`rm -f .npmrc`, {
|
const {stdout, stderr} = await exec(`rm -f .npmrc`);
|
||||||
cwd: path.resolve(__dirname)
|
|
||||||
});
|
|
||||||
core.debug(stdout);
|
core.debug(stdout);
|
||||||
if (stderr) {
|
if (stderr) {
|
||||||
core.debug(stderr);
|
core.debug(stderr);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue