mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
fix(docker): eval snippet passed as positional arg in container-user tests
This commit is contained in:
1 parent
b3394a976e
commit
8f9b2d5da4
1 file changed
+1
-1
@@ -52,7 +52,7 @@ afterEach(() => {
|
||||
})
|
||||
|
||||
const runScript = (snippet: string, env: Record<string, string> = {}) =>
|
||||
spawnSync('bash', ['-c', 'set -e\nsource "$1"\n$2', '--', libPath, snippet], {
|
||||
spawnSync('bash', ['-c', 'set -e\nsource "$1"\neval "$2"', '--', libPath, snippet], {
|
||||
encoding: 'utf-8',
|
||||
env: {
|
||||
...process.env,
|
||||
|
||||
Reference in new issue
Block a user