mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 20:14:30 +00:00
refactor(agent): dedupe harness and command workflows
This commit is contained in:
18
src/cli/requirements-test-fixtures.ts
Normal file
18
src/cli/requirements-test-fixtures.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export function createEmptyRequirements() {
|
||||
return {
|
||||
bins: [],
|
||||
anyBins: [],
|
||||
env: [],
|
||||
config: [],
|
||||
os: [],
|
||||
};
|
||||
}
|
||||
|
||||
export function createEmptyInstallChecks() {
|
||||
return {
|
||||
requirements: createEmptyRequirements(),
|
||||
missing: createEmptyRequirements(),
|
||||
configChecks: [],
|
||||
install: [],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user