Skip to content

Commit fc1bd33

Browse files
Regex fixups
Co-authored-by: Henry Mercer <henry@henrymercer.name>
1 parent e1e0ba3 commit fc1bd33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codeql.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ test("runTool summarizes several fatal errors", async (t) => {
945945
instanceOf: util.ConfigurationError,
946946
message: new RegExp(
947947
'Encountered a fatal error while running \\"codeql-for-testing database finalize --finalize-dataset --threads=2 --ram=2048 db\\"\\. ' +
948-
`Exit code was 32 and error was: ${datasetImportError}\\. Context: ${heapError}. See the logs for more details\\.`,
948+
`Exit code was 32 and error was: ${datasetImportError.replaceAll(".", "\\.")}\\. Context: ${heapError.replaceAll(".", "\\.")}\\. See the logs for more details\\.`,
949949
),
950950
},
951951
);

0 commit comments

Comments
 (0)