Skip to content

Commit 4e674b7

Browse files
committed
[trivial] Fix String -> StringBuilder assignment issue
1 parent 093766b commit 4e674b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/groovy/noe/server/IIS.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ class IIS extends ServerAbstract {
137137
}
138138

139139
// remove last ","
140-
propertiesString = propertiesString.substring(0, propertiesString.length() - 2)
140+
String props = propertiesString.substring(0, propertiesString.length() - 2).toString()
141141

142-
return executeAppcmd("set config /section:${section} /${op}\"[${propertiesString}]\"")
142+
return executeAppcmd("set config /section:${section} /${op}\"[${props}]\"")
143143
}
144144

145145
/**

0 commit comments

Comments
 (0)