diff --git a/script/vsts/get-release-version.js b/script/vsts/get-release-version.js index 8c7b099c9..f83209b30 100644 --- a/script/vsts/get-release-version.js +++ b/script/vsts/get-release-version.js @@ -5,7 +5,9 @@ const repositoryRootPath = path.resolve(__dirname, '..', '..'); const appMetadata = require(path.join(repositoryRootPath, 'package.json')); const REPO_OWNER = process.env.REPO_OWNER ? process.env.REPO_OWNER : 'atom'; -const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO ? process.env.NIGHTLY_RELEASE_REPO : 'atom-nightly-releases'; +const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO + ? process.env.NIGHTLY_RELEASE_REPO + : 'atom-nightly-releases'; const yargs = require('yargs'); const argv = yargs diff --git a/script/vsts/lib/release-notes.js b/script/vsts/lib/release-notes.js index 17fd056c0..a1743e70c 100644 --- a/script/vsts/lib/release-notes.js +++ b/script/vsts/lib/release-notes.js @@ -5,7 +5,9 @@ const childProcess = require('child_process'); const REPO_OWNER = process.env.REPO_OWNER ? process.env.REPO_OWNER : 'atom'; const MAIN_REPO = process.env.MAIN_REPO ? process.env.MAIN_REPO : 'atom'; -const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO ? process.env.NIGHTLY_RELEASE_REPO : 'atom-nightly-releases'; +const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO + ? process.env.NIGHTLY_RELEASE_REPO + : 'atom-nightly-releases'; module.exports.getRelease = async function(releaseVersion, githubToken) { if (githubToken) { diff --git a/script/vsts/upload-artifacts.js b/script/vsts/upload-artifacts.js index a9559d107..a8e0849d4 100644 --- a/script/vsts/upload-artifacts.js +++ b/script/vsts/upload-artifacts.js @@ -14,7 +14,9 @@ const CONFIG = require('../config'); const REPO_OWNER = process.env.REPO_OWNER ? process.env.REPO_OWNER : 'atom'; const MAIN_REPO = process.env.MAIN_REPO ? process.env.MAIN_REPO : 'atom'; -const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO ? process.env.NIGHTLY_RELEASE_REPO : 'atom-nightly-releases'; +const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO + ? process.env.NIGHTLY_RELEASE_REPO + : 'atom-nightly-releases'; const yargs = require('yargs'); const argv = yargs