Skip to content

Commit a4711e5

Browse files
authored
Update script.js
1 parent 1bdd6e6 commit a4711e5

File tree

1 file changed

+1
-1
lines changed
  • Specialized Areas/Fix scripts/Avoid Direct String in Widget HTML Templates -HealthScan Finding

1 file changed

+1
-1
lines changed

Specialized Areas/Fix scripts/Avoid Direct String in Widget HTML Templates -HealthScan Finding/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
var reg = />([a-zA-Z].*)<\//; // regex to check if strings are directly added in HTML Template
1010
var regex = new RegExp(reg);
1111
if (regex.test(current.getValue('template'))) {
12-
gs.addInfoMessage("Please use standard inernationalisation methods for strings like ${string} or define the string in server using gs.getMessage('string)" + "");
12+
gs.addInfoMessage("Please use standard inernationalisation methods for strings like ${string} or define the string in server using gs.getMessage('string')");
1313
current.setAbortAction(true);
1414
}
1515

0 commit comments

Comments
 (0)