Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 77f4c04

Browse files
authored
chore: change npm login check to correct account (#11645)
1 parent f0280a8 commit 77f4c04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060

6161
/** confirms that you will be able to perform the release before attempting */
6262
function validate () {
63-
if (exec('npm whoami') !== 'angularcore') {
64-
err('You must be authenticated with npm as "angularcore" to perform a release.');
63+
if (exec('npm whoami') !== 'angular') {
64+
err('You must be authenticated with npm as "angular" to perform a release.');
6565
} else if (exec('git rev-parse --abbrev-ref HEAD') !== 'staging') {
6666
err('Releases can only performed from "staging" at this time.');
6767
} else {

0 commit comments

Comments
 (0)