Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rename "github_token" to "github-token"

  • Loading branch information...
commit c69d18401f494e57e8e454d88a5045b276b6e571 1 parent a938e88
@rlidwka rlidwka authored
View
4 README.md
@@ -51,9 +51,9 @@ For authentiation you need to create an access token:
Then run:
```
-$ npm config set github_token <token>
+$ npm config set github-token <token>
```
# License
- Whatever npm is + MIT
+ Whatever npm is + MIT
View
2  doc/misc/npm-config.md
@@ -317,7 +317,7 @@ the git binary.
Tag the commit when using the `npm version` command.
-### github_token
+### github-token
* Default: null
* Type: String
View
2  lib/cache.js
@@ -229,7 +229,7 @@ function _add(args, cb) {
var val = spec.split('@')[1];
if (~key.indexOf('/')) {
- var token = npm.config.get('github_token');
+ var token = npm.config.get('github-token');
lookup({
token: token,
View
4 node_modules/npmconf/config-defs.js
@@ -146,7 +146,7 @@ Object.defineProperty(exports, "defaults", {get: function () {
, git: "git"
, "git-tag-version": true
- , "github_token": null
+ , "github-token": null
, global : false
, globalconfig : path.resolve(globalPrefix, "etc", "npmrc")
@@ -242,7 +242,7 @@ exports.types =
, "fetch-retry-maxtimeout": Number
, git: String
, "git-tag-version": Boolean
- , "github_token" : [null, String]
+ , "github-token" : [null, String]
, global : Boolean
, globalconfig : path
, group : [Number, String]
Please sign in to comment.
Something went wrong with that request. Please try again.