mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
fix test bug
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user