Skip to content

Commit

Permalink
feat: 优化npm token
Browse files Browse the repository at this point in the history
  • Loading branch information
novlan1 committed Oct 8, 2022
1 parent beb1fb8 commit 23bafd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/npm-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function getNpmToken() {

export function writeEnvTokenToNpmRC() {
const NPM_RC_TPL = `registry=https://registry.npmjs.org/
//registry.npmjs.org/:always-auth=true
//registry.npmjs.org/:_authToken={{TOKEN}}`;
//registry.npmjs.org/:always-auth=true
//registry.npmjs.org/:_authToken={{TOKEN}}`;

const fs = require('fs');
const path = require('path');
Expand Down

0 comments on commit 23bafd6

Please sign in to comment.