Skip to content

Commit

Permalink
[Makefile] Use absolute path for calypso/.nvmrc (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsakaimbo authored Feb 21, 2020
1 parent b5b16e7 commit a6599c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ endif

# Sed to strip leading v to ensure 'v1.2.3' and '1.2.3' can match.
# The .nvmrc file may contain either, `node --version` prints with 'v' prefix.
CALYPSO_NODE_VERSION := $(shell cat calypso/.nvmrc | sed -n 's/v\{0,1\}\(.*\)/\1/p')
CALYPSO_NODE_VERSION := $(shell cat $(THIS_DIR)/calypso/.nvmrc | sed -n 's/v\{0,1\}\(.*\)/\1/p')
CURRENT_NODE_VERSION := $(shell node --version | sed -n 's/v\{0,1\}\(.*\)/\1/p')

.PHONY: check-version-parity
Expand Down

0 comments on commit a6599c0

Please sign in to comment.