diff --git a/.env.example b/.env.example index fec99ff0..88e14c8f 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1 @@ - GH_TOKEN= - REDIS_URL="redis://localhost:6379" \ No newline at end of file + GH_TOKEN= \ No newline at end of file diff --git a/bin/update-server.js b/bin/update-server.js index 497d89b5..0095d38c 100755 --- a/bin/update-server.js +++ b/bin/update-server.js @@ -19,7 +19,7 @@ const Redlock = require('redlock') const { GH_TOKEN: token, - REDIS_URL: redisUrl, + REDIS_URL: redisUrl = 'redis://localhost:6379', PORT: port = 3000, CACHE_TTL: cacheTTL = '15m' } = process.env diff --git a/test/index.js b/test/index.js index 3788b73b..ed6fb795 100644 --- a/test/index.js +++ b/test/index.js @@ -1,6 +1,6 @@ 'use strict' -if (!process.env.CI) require('dotenv-safe').load() +require('dotenv-safe').load() const { test } = require('tap') const fetch = require('node-fetch')