Skip to content

Commit 5189765

Browse files
committed
Fixed command restriction
1 parent a3d8ed5 commit 5189765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/app.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ share.inputFields = [
137137
]
138138

139139
share.filterOptions = (options, additionalPermittedCharacters = "") ->
140-
for excludedOption in ["--python-expr", "--python-file", "--pmap", "--dynamic-library", "--tuple-file", "--tuple-fields", "--tuple-direction", "--tuple-dilimter", "--all-destination", "--fail-destination", "--pass-destination", "--print-statistics", "--print-volume-statistics", "--xargs"]
140+
for excludedOption in ["--python-expr", "--python-file", "--pmap", "--dynamic-library", "--tuple-file", "--tuple-fields", "--tuple-direction", "--tuple-delimiter", "--all-destination", "--fail-destination", "--pass-destination", "--print-statistics", "--print-volume-statistics", "--xargs"]
141141
regexp = new RegExp(excludedOption + "=?[^\\s]*", "gi")
142142
options = options.replace(regexp, "")
143143
filter = new RegExp("[^\\s\\=\\-\\/\\,\\.\\:0-9a-z" + additionalPermittedCharacters + "]", "gi")

0 commit comments

Comments
 (0)