Skip to content

Commit 2ccf386

Browse files
committed
fix: lambda-durable-functions-testing-sdk-js/src/checkpoint-server/worker/checkpoint-server-worker.ts#L141
Passing a string to String() does not change the type or value of the string
1 parent 6a31d66 commit 2ccf386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda-durable-functions-testing-sdk-js/src/checkpoint-server/worker/checkpoint-server-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class CheckpointServerWorker {
138138
void this.shutdownServer();
139139
break;
140140
default:
141-
this.sendError(new Error(`Unknown command: ${String(command.type)}`));
141+
this.sendError(new Error(`Unknown command: ${command.type}`));
142142
}
143143
}
144144

0 commit comments

Comments
 (0)