diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 151ce39..a8a0d30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 20 - name: Install dependencies run: npm i env: diff --git a/.gitignore b/.gitignore index 23f8aef..2c0b942 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ package-lock.json dbs/* .DS_Store +.vscode diff --git a/utils.js b/utils.js index 5ed8e64..9cb3cc8 100644 --- a/utils.js +++ b/utils.js @@ -5,7 +5,7 @@ const getConfigWithDir = () => { const cwd = process.env['INIT_CWD'] || process.cwd(); let dir = cwd; - // Find a package.json with geolite2 configuration at or above the level + // Find a package.json with geolite2 configuration key at or above the level // of this directory. while (fs.existsSync(dir)) { const packageJSON = path.join(dir, 'package.json'); @@ -21,11 +21,11 @@ const getConfigWithDir = () => { } console.log( - "WARN: geolite2 cannot find configuration in package.json file, using defaults.\n" + - "WARN: geolite2 expects to have 'MAXMIND_ACCOUNT_ID' and 'MAXMIND_LICENSE_KEY' to be present in environment variables when package.json is unavailable.", + "INFO: geolite2 cannot find configuration in package.json file, using defaults.\n" + + "INFO: geolite2 expects to have 'MAXMIND_ACCOUNT_ID' and 'MAXMIND_LICENSE_KEY' to be present in environment variables when package.json is unavailable.", ); console.log( - 'WARN: geolite2 expected package.json to be present at a parent of:\n%s', + 'INFO: geolite2 expected package.json to be present at a parent of:\n%s', cwd ); };