chore: add flag to skip version check (#14145)

This commit is contained in:
Samuel Attard 2018-08-16 12:04:32 -07:00 committed by Shelley Vohr
parent 22a51625d4
commit 840db11a92

View file

@ -141,6 +141,8 @@ function s3UrlsForVersion (version) {
} }
function checkVersion () { function checkVersion () {
if (args.skipVersionCheck) return
console.log(`Verifying that app version matches package version ${pkgVersion}.`) console.log(`Verifying that app version matches package version ${pkgVersion}.`)
let startScript = path.join(__dirname, 'start.py') let startScript = path.join(__dirname, 'start.py')
let scriptArgs = ['--version'] let scriptArgs = ['--version']