From 8db41e5e0f9ead32c7ef39f1fb1a753e2711cef1 Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Fri, 30 Jan 2026 02:11:42 +0100 Subject: [PATCH] Fix for Useless assignment to local variable Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- runtime/src/decoders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/decoders.js b/runtime/src/decoders.js index 1a45e03f2..534e4d03d 100644 --- a/runtime/src/decoders.js +++ b/runtime/src/decoders.js @@ -152,7 +152,7 @@ export const decodeString = (ok, err) => (input) => { // Decodes `Time` either a UNIX timestamp or any values that the // environment can parse with the `Date` constructor. export const decodeTime = (ok, err) => (input) => { - let parsed = NaN; + let parsed; if (typeof input === "number") { parsed = new Date(input);