File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
import chalk from 'chalk' ;
2
2
import { spawnSync } from 'child_process' ;
3
- import { readFileSync } from 'fs' ;
3
+ import { readFileSync , unlinkSync } from 'fs' ;
4
4
import { join } from 'path' ;
5
5
import { BaseReleaseTask } from './base-release-task' ;
6
6
import { checkReleaseOutput } from './check-release-output' ;
@@ -130,6 +130,9 @@ class PublishReleaseTask extends BaseReleaseTask {
130
130
console . info ( chalk . green ( chalk . bold ( ` ✓ Published all packages successfully` ) ) ) ;
131
131
console . info ( chalk . yellow ( ` ⚠ Please draft a new release of the version on Github.` ) ) ;
132
132
console . info ( chalk . yellow ( ` ${ newReleaseUrl } ` ) ) ;
133
+
134
+ // Remove file at ~/.npmrc after release is complete.
135
+ unlinkSync ( '~/.npmrc' ) ;
133
136
}
134
137
135
138
/**
You can’t perform that action at this time.
0 commit comments