Files
theia-code-os/packages/task/test-resources/test-arguments-0.js
mawkone 8bb5110148
Some checks failed
Playwright Tests / Playwright Tests (ubuntu-22.04, Node.js 22.x) (push) Has been cancelled
3PP License Check / 3PP License Check (11, 22.x, ubuntu-22.04) (push) Has been cancelled
Publish packages to NPM / Perform Publishing (push) Has been cancelled
deploy: current vibn theia state
Made-with: Cursor
2026-02-27 12:01:08 -08:00

14 lines
294 B
JavaScript

const {
compareArrayValues
} = require('./compare')
const debugHint = process.argv[2]
const args = process.argv.slice(3)
if (compareArrayValues(args, ['a', 'b', 'c'])) {
process.exit(0) // OK
} else {
console.error(debugHint, JSON.stringify(args))
process.exit(1) // NOT OK
}