fix test bug

This commit is contained in:
Caelan
2024-10-07 11:51:52 -06:00
parent 425885f7a9
commit c5e21acdd6

View File

@@ -151,10 +151,12 @@ export function updateExe(): string {
paths.join(", ") +
". And found these binaries: ";
for (const p of paths) {
for (const file of fs.readdirSync(p)) {
message += file + ", ";
}
for (const file of fs.readdirSync(path.join("..", "..", "target", "debug"))) {
message += file + ", ";
}
for (const file of fs.readdirSync(path.join("..", "..", "target", "release"))) {
message += file + ", ";
}
throw new Error(message);