Skip to content

Commit 70d8b9c

Browse files
committed
Rename to MAXMIND_KEY
1 parent 76c8b3d commit 70d8b9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/updatedb.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ const createProgressLogger = (database, step, activity) => {
7070

7171
const args = process.argv.slice(2);
7272
let license_key = args.find(arg => arg.match(/^license_key=[a-zA-Z0-9]+/) !== null);
73-
if (typeof license_key === 'undefined' && typeof process.env.LICENSE_KEY !== 'undefined') {
74-
license_key = `license_key=${process.env.LICENSE_KEY}`;
73+
if (typeof license_key === 'undefined' && typeof process.env.MAXMIND_KEY !== 'undefined') {
74+
license_key = `license_key=${process.env.MAXMIND_KEY}`;
7575
}
7676

7777
let geoDataDir = args.find(arg => arg.match(/^geoDataDir=[\w./]+/) !== null);

0 commit comments

Comments
 (0)