We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68ca605 commit 243ef35Copy full SHA for 243ef35
script/commit-definitions
@@ -6,6 +6,11 @@
6
#
7
# Notes: extracted from https://github.com/nodenv/node-build-update-defs/blob/ac8e155cd8df843ca224c45ef55a36e20719bf9d/script/submit-definitions
8
9
+# change to repo-root;
10
+# allows the script to be invoked via `npm explore -- npm run defs:commit`
11
+# however, it will fail if this package is installed as a git-dep
12
+cd "$(git rev-parse --show-toplevel)" || exit
13
+
14
git ls-files --others --exclude-standard -- share/node-build |
15
while read -r node_def; do
16
node_name=${node_def##*/}
0 commit comments