Skip to content

Commit 54b56c4

Browse files
committed
doc: avoid using Posix-specific search-path separator
1 parent 17450a5 commit 54b56c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/prepare-db-upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ Although we have some automated testing of the scripts (e.g. to test that you ca
6969
To test the upgrade script, run:
7070

7171
```
72-
codeql test run --search-path=<old-extractor-pack>;ql <test-dir>
72+
codeql test run --search-path=<old-extractor-pack> --search-path=ql <test-dir>
7373
```
7474

7575
Where `<old-extractor-pack>` is an extractor pack containing the old extractor and dbscheme that pre-date your changes, and `<test-dir>` is the directory containing the qltests for your language. This will run the tests using an old extractor, and the test databases will all be upgraded in place using your new upgrade script.
7676

7777
To test the downgrade script, create an extractor pack that includes your new dbscheme and extractor changes. Then checkout the `main` branch of `codeql` (i.e. a branch that does not include your changes), and run:
7878

7979
```
80-
codeql test run --search-path=<new-extractor-pack>;ql <test-dir>
80+
codeql test run --search-path=<new-extractor-pack> --search-path=ql <test-dir>
8181
```
8282

8383
This will run the tests using your new extractor, and the databases will be downgraded using your new downgrade script so that they match the dbscheme of the `main` branch.

0 commit comments

Comments
 (0)