Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
Normalize env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Oct 28, 2016
1 parent f8d78f7 commit 4401878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var config = new Configstore(configName, {

var lastFetchCheck = config.get('lastFetchCheck')
var now = Date.now()
var fetchCheckInterval = process.env.NODE_ENGINE_INTERVAL || FIVE_DAYS
var fetchCheckInterval = process.env.NODENGINE_INTERVAL || FIVE_DAYS
var isCacheValid = now - lastFetchCheck < fetchCheckInterval

var nodeVersions = config.get('nodeVersions')
Expand Down

0 comments on commit 4401878

Please sign in to comment.