Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config/nerf-dart.js')
-rw-r--r--lib/config/nerf-dart.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/config/nerf-dart.js b/lib/config/nerf-dart.js
index 07c817500..8d2bdd26e 100644
--- a/lib/config/nerf-dart.js
+++ b/lib/config/nerf-dart.js
@@ -1,4 +1,4 @@
-var url = require("url")
+var url = require('url')
module.exports = toNerfDart
@@ -11,7 +11,7 @@ module.exports = toNerfDart
*
* @returns {String} A nerfed URL.
*/
-function toNerfDart(uri) {
+function toNerfDart (uri) {
var parsed = url.parse(uri)
delete parsed.protocol
delete parsed.auth
@@ -19,5 +19,5 @@ function toNerfDart(uri) {
delete parsed.search
delete parsed.hash
- return url.resolve(url.format(parsed), ".")
+ return url.resolve(url.format(parsed), '.')
}