Skip to content

Commit 16732d4

Browse files
committed
fix(lde-build): allow true as successful sh output
1 parent 2dab3d4 commit 16732d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/lde-build/src/build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ end
9393
---@param cmd string
9494
function Instance:sh(cmd)
9595
local res = os.execute(cmd)
96-
assert(res == 0, "failed to execute " .. cmd)
96+
assert(res == 0 or res == true, "failed to execute " .. cmd)
9797
end
9898

9999
return Instance

0 commit comments

Comments
 (0)