test: fix convert a Symbol value to a string

This commit is contained in:
Constrat
2024-09-05 16:01:32 +02:00
committed by Constrat
parent a89e2e4143
commit 45e8548b07

View File

@@ -64,7 +64,7 @@ for (const [server, list] of [...Object.entries(listPerServer), ...Object.getOwn
if (localDiff) {
diff = true;
} else {
log(serverName, `No valid changes found in server: ${server}`);
log(serverName, `No valid changes found in server: ${typeof server === "symbol" ? server.description : server}`);
log(serverName, "Revert the file changes...");
for (const [, , pathname] of list) {
await exec(`git checkout HEAD -- ${pathname}`);