commit 067735a4b0732c6fb2423f905bfda9f678d483b6
parent b7593535f2b3624b27136f2400a0c4fb38a1eae4
Author: Demonstrandum <moi@knutsen.co>
Date: Mon, 23 Mar 2020 18:07:13 +0000
MapBox key...
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/generate_secrets.sh b/generate_secrets.sh
@@ -43,6 +43,9 @@ cat <<- JSON
"key": "$YANDEX_TRANSLATE_KEY"
}
},
+ "mapbox": {
+ "key": "$MAPBOX_KEY"
+ },
"openweather": {
"key": "$OPENWEATHER_KEY"
},
diff --git a/lib/main.ts b/lib/main.ts
@@ -499,7 +499,7 @@ function on_termination(error_type) {
setTimeout(() => {
console.log('Clean finished.');
process.exit(0);
- }, 7000).unref(); // If we haven't exited in 7s, just exit anyway.
+ }, 7000); // If we haven't exited in 7s, just exit anyway.
}
// Handle exits.