Skip to content

Commit dbc8b9c

Browse files
committed
autoformat
1 parent 700dfcc commit dbc8b9c

File tree

1 file changed

+6
-2
lines changed
  • javascript/ql/src/semmle/javascript/frameworks

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,12 @@ class AnsiColorsStep extends TaintTracking::SharedTaintStep {
221221
class ColorsStep extends TaintTracking::SharedTaintStep {
222222
override predicate stringManipulationStep(DataFlow::Node pred, DataFlow::Node succ) {
223223
exists(API::CallNode call |
224-
225-
call = API::moduleImport(["colors", "colors/safe" /* this variant avoids modifying the prototype methods */ ]).getAMember*().getACall()
224+
call =
225+
API::moduleImport([
226+
"colors",
227+
// the `colors/safe` variant avoids modifying the prototype methods
228+
"colors/safe"
229+
]).getAMember*().getACall()
226230
|
227231
pred = call.getArgument(0) and
228232
succ = call

0 commit comments

Comments
 (0)