mirror of
https://github.com/hohn/codeql-javascript-multiflow.git
synced 2025-12-16 12:03:03 +01:00
Add nested if() test. Update source locations.
This commit is contained in:
committed by
=Michael Hohn
parent
d02e26d6d2
commit
405b3a0661
@@ -7,7 +7,7 @@ echo $DB
|
||||
test -d "$DB" && rm -fR "$DB"
|
||||
mkdir -p "$DB"
|
||||
|
||||
codeql database create --language=javascript -s . -j 8 -v $DB
|
||||
codeql database create --language=javascript -s source -j 8 -v $DB
|
||||
|
||||
# Check it
|
||||
echo "The DB is in $DB"
|
||||
|
||||
@@ -26,10 +26,10 @@ git add tests/$qname/$qname.expected
|
||||
git add tests/$qname/$qname.qlref
|
||||
|
||||
# snapshot the session
|
||||
cp sample-utility-0.js tests/$qname/
|
||||
cp source/sample-utility-0.js tests/$qname/
|
||||
git add tests/$qname/sample-utility-0.js
|
||||
|
||||
cp sample-utility-1.js tests/$qname/
|
||||
cp source/sample-utility-1.js tests/$qname/
|
||||
git add tests/$qname/sample-utility-1.js
|
||||
|
||||
cp session/session1.ql solutions/$qname.ql
|
||||
|
||||
Reference in New Issue
Block a user