Skip to content

Commit 6e4b424

Browse files
authored
Merge pull request #55 from runk/node20-for-release
chore: use node@20 for release
2 parents cfa55f0 + 1e4d56a commit 6e4b424

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Node.js
1616
uses: actions/setup-node@v2
1717
with:
18-
node-version: 14
18+
node-version: 20
1919
- name: Install dependencies
2020
run: npm i
2121
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ package-lock.json
3939
dbs/*
4040

4141
.DS_Store
42+
.vscode

utils.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const getConfigWithDir = () => {
55
const cwd = process.env['INIT_CWD'] || process.cwd();
66
let dir = cwd;
77

8-
// Find a package.json with geolite2 configuration at or above the level
8+
// Find a package.json with geolite2 configuration key at or above the level
99
// of this directory.
1010
while (fs.existsSync(dir)) {
1111
const packageJSON = path.join(dir, 'package.json');
@@ -21,11 +21,11 @@ const getConfigWithDir = () => {
2121
}
2222

2323
console.log(
24-
"WARN: geolite2 cannot find configuration in package.json file, using defaults.\n" +
25-
"WARN: geolite2 expects to have 'MAXMIND_ACCOUNT_ID' and 'MAXMIND_LICENSE_KEY' to be present in environment variables when package.json is unavailable.",
24+
"INFO: geolite2 cannot find configuration in package.json file, using defaults.\n" +
25+
"INFO: geolite2 expects to have 'MAXMIND_ACCOUNT_ID' and 'MAXMIND_LICENSE_KEY' to be present in environment variables when package.json is unavailable.",
2626
);
2727
console.log(
28-
'WARN: geolite2 expected package.json to be present at a parent of:\n%s',
28+
'INFO: geolite2 expected package.json to be present at a parent of:\n%s',
2929
cwd
3030
);
3131
};

0 commit comments

Comments
 (0)