Skip to content

Commit 727e51a

Browse files
committed
Update
1 parent 560c58a commit 727e51a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ npm run updatedb-force license_key=YOUR_LICENSE_KEY
181181

182182
You can also run it by doing:
183183
```shell
184-
node ./node_modules/geoip-lite2/utils/updatedb.js license_key=YOUR_LICENSE_KEY
184+
node ./node_modules/geoip-lite2/tools/updatedb.js license_key=YOUR_LICENSE_KEY
185185
```
186186

187187
### Ways to reload data in your app when update finished

tools/updatedb.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ function check(database, cb) {
161161
if ([301, 302, 303, 307, 308].includes(status)) {
162162
return https.get(getHTTPOptions(response.headers.location), onResponse);
163163
} else if (status !== 200) {
164-
console.error(response.data);
165164
console.error('ERROR: HTTP Request Failed [%d %s]', status, http.STATUS_CODES[status]);
166165
client.end();
167166
process.exit(1);

0 commit comments

Comments
 (0)