mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Preflight and integration npx (#1096)
This commit is contained in:
@@ -107,7 +107,7 @@ function buildImage(imageName, dockerfile) {
|
||||
const buildCommand =
|
||||
sandboxCommand === 'podman'
|
||||
? `${sandboxCommand} build --authfile=<(echo '{}')`
|
||||
: `${sandboxCommand} --config=".docker" buildx build`;
|
||||
: `${sandboxCommand} build`;
|
||||
|
||||
const npmPackageVersion = JSON.parse(
|
||||
readFileSync(join(process.cwd(), 'package.json'), 'utf-8'),
|
||||
|
||||
@@ -64,4 +64,8 @@ const env = {
|
||||
DEV: 'true',
|
||||
};
|
||||
|
||||
spawn('node', nodeArgs, { stdio: 'inherit', env });
|
||||
const child = spawn('node', nodeArgs, { stdio: 'inherit', env });
|
||||
|
||||
child.on('close', (code) => {
|
||||
process.exit(code);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user