From 9bc39d3aef14a503bd0af0a0084318d841f6d01e Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sat, 30 Sep 2023 11:19:09 +0530 Subject: [PATCH] fix(tests): avoid shadowing declared variable --- tests/process/spawn.luau | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/process/spawn.luau b/tests/process/spawn.luau index c6c31c0..5f926cd 100644 --- a/tests/process/spawn.luau +++ b/tests/process/spawn.luau @@ -162,10 +162,7 @@ assert( ) -- Passing stdin strings should work - -local isWindows = process.os == "windows" - -local stdinChild = process.spawn((((not isWindows) and "xargs") or "powershell"), { +local stdinChild = process.spawn((((not IS_WINDOWS) and "xargs") or "powershell"), { "echo", }, { stdin = echoMessage,