Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit e05e815

Browse files
author
Jeremy Wiebe
committed
Make sure we treat all versions up to v4 as < v6
1 parent 5c24232 commit e05e815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/bin/lint-md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ done
1414
DOCS_DIR="$(cd "$(dirname "$BIN")/.." && pwd)"
1515
REMARK_RC="$DOCS_DIR/remarkrc"
1616

17-
if [[ $(node -v) =~ ^v4 ]]; then
17+
if [[ $(node -v) =~ ^v[0-4] ]]; then
1818
# Node v4!!
1919
# This is tricky. `remark` is a dep of mobify-code-style
2020
# and so won't show up in `node_modules/.bin` of a project

0 commit comments

Comments
 (0)