mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
chore: cloudcmd: actions: lint ☘️
This commit is contained in:
parent
7e2d2ede98
commit
52a9076f14
1 changed files with 3 additions and 4 deletions
|
|
@ -1,13 +1,12 @@
|
|||
import {spawnSync} from 'node:child_process';
|
||||
import {test} from 'supertape';
|
||||
|
||||
const cliPath = new URL('cloudcmd.js', import.meta.url).pathname;
|
||||
import info from '../package.json' with {
|
||||
type: 'json',
|
||||
}
|
||||
};
|
||||
|
||||
const cliPath = new URL('cloudcmd.js', import.meta.url).pathname;
|
||||
|
||||
test('cloudcmd: bin: cli: -h', (t) => {
|
||||
const {version} = info;
|
||||
const {stdout} = spawnSync(cliPath, ['-h'], {
|
||||
encoding: 'utf8',
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue