Commit d0c76394 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[FEATURE] allow execution of node scripts in sgc-scripts directory

parent d5183667
......@@ -24,6 +24,8 @@ elif [ -e "sgc-core/core/modules/$1.sh" ]; then
./sgc-core/core/modules/$1.sh
elif [ -e "./sgc-scripts/$1.sh" ]; then
./sgc-scripts/$1.sh
elif [ -e "./sgc-scripts/$1.js" ]; then
node ./sgc-scripts/$1.js
elif [ -e "./sgc-core/core/modules/$1.js" ]; then
node ./sgc-core/core/modules/$1.js $@
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment