From 462c51dc2abf291d568dc14306af1586e06f0d36 Mon Sep 17 00:00:00 2001 From: Christoph Witzko Date: Mon, 28 Nov 2016 16:33:05 +0100 Subject: [PATCH] style: standard --- bin/semantic-release.js | 6 +++--- test/lib/base-scenario.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/semantic-release.js b/bin/semantic-release.js index 74055dbb..695ab39d 100755 --- a/bin/semantic-release.js +++ b/bin/semantic-release.js @@ -99,11 +99,11 @@ npmconf.load({}, function (err, conf) { if (env.NPM_OLD_TOKEN && env.NPM_EMAIL) { // Using the old auth token format is not considered part of the public API // This might go away anytime (i.e. once we have a better testing strategy) - conf.set('_auth', '${NPM_OLD_TOKEN}', 'project') - conf.set('email', '${NPM_EMAIL}', 'project') + conf.set('_auth', '${NPM_OLD_TOKEN}', 'project') // eslint-disable-line no-template-curly-in-string + conf.set('email', '${NPM_EMAIL}', 'project') // eslint-disable-line no-template-curly-in-string wroteNpmRc = true } else if (env.NPM_TOKEN) { - conf.set(nerfDart + ':_authToken', '${NPM_TOKEN}', 'project') + conf.set(nerfDart + ':_authToken', '${NPM_TOKEN}', 'project') // eslint-disable-line no-template-curly-in-string wroteNpmRc = true } diff --git a/test/lib/base-scenario.js b/test/lib/base-scenario.js index 314548f6..c7a154e3 100644 --- a/test/lib/base-scenario.js +++ b/test/lib/base-scenario.js @@ -4,7 +4,7 @@ module.exports = function (cwd, uri) { return nixt() .cwd(cwd) .env('NPM_OLD_TOKEN', 'aW50ZWdyYXRpb246c3VjaHNlY3VyZQ==') - .env('NPM_EMAIL', 'integration@test.com') + .env('NPM_EMAIL', 'integration@test.com') .env('GH_TOKEN', 'ghtoken') .env('CI', 'true') .env('npm_config_registry', uri)