Skip to content

Commit 8d90004

Browse files
committed
fix: fixed tests
1 parent 029046c commit 8d90004

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "default",
3-
"version": "1.9.1",
3+
"version": "1.10.0-beta.1",
44
"description": "Default plugin for Codify - provides 50+ declarative resources for managing development tools and system configuration across macOS and Linux",
55
"main": "dist/index.js",
66
"scripts": {

src/resources/scripting/action.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export class ActionResource extends Resource<ActionConfig> {
7575
...(condition ? { condition } : undefined),
7676
...(action ? { action } : undefined),
7777
...(cwd ? { cwd } : undefined),
78-
...(requiresRoot ? { requiresRoot } : undefined),
79-
...(requiresStdin ? { requiresStdin } : undefined),
78+
...(requiresRoot != null ? { requiresRoot } : undefined),
79+
...(requiresStdin != null ? { requiresStdin } : undefined),
8080
};
8181
}
8282

test/openclaw/openclaw.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ describe('openclaw resource integration tests', async () => {
2525

2626
it('Can manage settings', { timeout: 300_000 }, async () => {
2727
const initialSettings = {
28-
gateway: { port: 18789, bind: 'loopback' },
28+
gateway: { mode: 'local', port: 18789, bind: 'loopback' },
2929
logging: { level: 'debug' },
3030
};
3131

3232
const modifiedSettings = {
33-
gateway: { port: 18790, bind: 'loopback' },
33+
gateway: { mode: 'local', port: 18790, bind: 'loopback' },
3434
logging: { level: 'debug' },
3535
};
3636

0 commit comments

Comments
 (0)