Skip to content

Commit 57d1b15

Browse files
bash script updated to run imported function
1 parent 4a78f5b commit 57d1b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/run.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ do
109109
exit 0
110110
elif [[ "${args[$i]}" == "--export" ]]
111111
then
112-
PYTHAGORA_CONFIG="$@" node "./node_modules/${pythagora_dir}/src/commands/export.js"
112+
PYTHAGORA_CONFIG="$@" node -e "require('./node_modules/${pythagora_dir}/src/commands/export.js').runExport()"
113113
exit 0
114114
elif [[ "${args[$i]}" == "--mode" ]]
115115
then

0 commit comments

Comments
 (0)