File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -452,14 +452,14 @@ class PublishCommand extends Command {
452452 return verifyNpmPackageAccess ( this . packagesToPublish , username , this . conf . snapshot ) ;
453453 }
454454 } ) ;
455- }
456455
457- // read profile metadata to determine if account-level 2FA is enabled
458- chain = chain . then ( ( ) => getTwoFactorAuthRequired ( this . conf . snapshot ) ) ;
459- chain = chain . then ( isRequired => {
460- // notably, this still doesn't handle package-level 2FA requirements
461- this . twoFactorAuthRequired = isRequired ;
462- } ) ;
456+ // read profile metadata to determine if account-level 2FA is enabled
457+ chain = chain . then ( ( ) => getTwoFactorAuthRequired ( this . conf . snapshot ) ) ;
458+ chain = chain . then ( isRequired => {
459+ // notably, this still doesn't handle package-level 2FA requirements
460+ this . twoFactorAuthRequired = isRequired ;
461+ } ) ;
462+ }
463463
464464 return chain ;
465465 }
You can’t perform that action at this time.
0 commit comments