Skip to content

Commit c88d213

Browse files
committed
JS: Use appendToNamespace
1 parent f5f255d commit c88d213

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/src/semmle/javascript/frameworks

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/Vuex.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ module Vuex {
120120
pragma[noinline]
121121
string getNamespace() {
122122
getNumArgument() = 2 and
123-
result = namespace + getParameter(0).getAValueReachingRhs().getStringValue() + "/"
123+
result = appendToNamespace(namespace, getParameter(0).getAValueReachingRhs().getStringValue())
124124
or
125125
getNumArgument() = 1 and
126126
result = namespace

0 commit comments

Comments
 (0)