Skip to content

Commit

Permalink
fix no_cache flag
Browse files Browse the repository at this point in the history
  • Loading branch information
beuluis committed Feb 21, 2022
1 parent dab2690 commit 760ffa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wnv
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fi
node_version=($(grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' <<<"$engines"))

# read versions new if file is older then 24h or no_cache is set
if [[ -n "${NO_CACHE}" ]] || test "$(find "$version_dir" -mmin +1440)"; then
if [[ -n $NO_CACHE ]] || test "$(find "$version_dir" -mmin +1440)"; then
echo "Fetch node versions. This takes a little..."

# curl version list from nodejs dist index
Expand Down

0 comments on commit 760ffa7

Please sign in to comment.