chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2026-05-17 11:25:50 +00:00
parent eff03299b6
commit 4f4725ac3c
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ export const editor = (name, {exit = _exit} = {}) => {
const reg = /^(dword|edward|deepword|qword)$/;
if (!reg.test(name))
exit(`cloudcmd --editor: could be "dword", "edward", "deepword" or "qword" only, recieved: "${name}"`);
exit(`cloudcmd --editor: could be "dword", "edward", "deepword" or "qword" only, received: "${name}"`);
};
export const menu = (name, {exit = _exit} = {}) => {

View file

@ -64,7 +64,7 @@ test('validate: packer: not valid', (t) => {
test('validate: editor: not valid', (t) => {
const exit = stub();
const msg = 'cloudcmd --editor: could be "dword", "edward", "deepword" or "qword" only, recieved: "hello"';
const msg = 'cloudcmd --editor: could be "dword", "edward", "deepword" or "qword" only, received: "hello"';
validate.editor('hello', {
exit,