Skip to content

Commit 349d21f

Browse files
committed
fix clean issue when install failed
1 parent cbbf753 commit 349d21f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/util.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ function windowsCompile(ctx)
9797
local ensurepipPath = qInstallPath .. "\\Lib\\ensurepip\\__init__.py"
9898
local file = io.open(ensurepipPath, "r")
9999
if file then
100+
io.close(file)
100101
local command = qInstallPath .. '\\python -E -s -m ensurepip -U --default-pip > NUL'
101102
local exitCode = os.execute(command)
102103
if exitCode ~= 0 then

0 commit comments

Comments
 (0)