mirror of
https://github.com/lune-org/lune.git
synced 2025-04-15 01:13:55 +01:00
fix(tests): avoid shadowing declared variable
This commit is contained in:
parent
47d39cb8a9
commit
9bc39d3aef
1 changed files with 1 additions and 4 deletions
|
@ -162,10 +162,7 @@ assert(
|
||||||
)
|
)
|
||||||
|
|
||||||
-- Passing stdin strings should work
|
-- Passing stdin strings should work
|
||||||
|
local stdinChild = process.spawn((((not IS_WINDOWS) and "xargs") or "powershell"), {
|
||||||
local isWindows = process.os == "windows"
|
|
||||||
|
|
||||||
local stdinChild = process.spawn((((not isWindows) and "xargs") or "powershell"), {
|
|
||||||
"echo",
|
"echo",
|
||||||
}, {
|
}, {
|
||||||
stdin = echoMessage,
|
stdin = echoMessage,
|
||||||
|
|
Loading…
Add table
Reference in a new issue