diff --git a/package.json b/package.json index 4b293c96395b6..db1342cae5e5e 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "defs": "node scripts/export-service-definitions-cli.js > service-definitions.yml", "build": "npm run defs && npm run features && next build && next export -o build/", "heroku-postbuild": "npm run build", - "heroku-start": "node scripts/export-heroku-secrets.js", + "heroku-start": "node scripts/export-heroku-secrets-cli.js", "analyze": "ANALYZE=true LONG_CACHE=false BASE_URL=https://img.shields.io npm run build", "start:server": "HANDLE_INTERNAL_ERRORS=false RATE_LIMIT=false node server 8080 ::", "now-start": "node server", diff --git a/scripts/export-heroku-secrets.js b/scripts/export-heroku-secrets-cli.js similarity index 72% rename from scripts/export-heroku-secrets.js rename to scripts/export-heroku-secrets-cli.js index 88086b589437d..b66cb005abd69 100644 --- a/scripts/export-heroku-secrets.js +++ b/scripts/export-heroku-secrets-cli.js @@ -6,9 +6,9 @@ const path = require('path') const secretsPath = path.join(__dirname, '..', 'private', 'secret.json') if (fs.existsSync(secretsPath)) { - console.info('Found existing private/secret.json, not overwriting.') + console.log('Found existing private/secret.json, not overwriting.') } else { - console.info('private/secret.json does not exist, creating.') + console.log('private/secret.json does not exist, creating.') const secrets = { wheelmap_token: process.env.WHEELMAP_TOKEN } const secretsString = JSON.stringify(secrets) fs.writeFileSync(secretsPath, secretsString)