Skip to content

Commit 4eb3f9f

Browse files
committed
🐛 QD-9921 Remove quotes on passing disabled_plugins. Parameters passed through file should not be quoted.
(cherry picked from commit e97a627)
1 parent 3e3e1f4 commit 4eb3f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/properties.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func GetScanProperties(c corescan.Context) []string {
139139
}
140140
disabledPluginsFile := c.Prod().DisabledPluginsFilePath()
141141
if _, err := os.Stat(disabledPluginsFile); err == nil {
142-
lines = append(lines, fmt.Sprintf("-Ddisabled.plugins.file.path=%s", strutil.QuoteIfSpace(disabledPluginsFile)))
142+
lines = append(lines, fmt.Sprintf("-Ddisabled.plugins.file.path=%s", disabledPluginsFile))
143143
}
144144

145145
cliProps, flags := c.PropertiesAndFlags()

0 commit comments

Comments
 (0)