Skip to content

Commit 877829e

Browse files
committed
chore: scripts/resetdeps.sh checks for cmark-gfm bindings
1 parent 6c5c2a8 commit 877829e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/resetdeps.sh

+6
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ git checkout node_modules
99
node . i --ignore-scripts --no-audit --no-fund "$@"
1010
node . rebuild --ignore-scripts
1111
node . run dependencies --ignore-scripts
12+
# check for cmark-gfm bindings
13+
cmarkbinding=$(find `npm ls cmark-gfm --parseable \
14+
| head -n 1` -name binding.node)
15+
if [[ ! $cmarkbinding ]]; then
16+
node . rebuild cmark-gfm
17+
fi

0 commit comments

Comments
 (0)