Skip to content

Commit 4f4725a

Browse files
committed
chore: cloudcmd: actions: lint ☘️
1 parent eff0329 commit 4f4725a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

server/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const editor = (name, {exit = _exit} = {}) => {
3131
const reg = /^(dword|edward|deepword|qword)$/;
3232

3333
if (!reg.test(name))
34-
exit(`cloudcmd --editor: could be "dword", "edward", "deepword" or "qword" only, recieved: "${name}"`);
34+
exit(`cloudcmd --editor: could be "dword", "edward", "deepword" or "qword" only, received: "${name}"`);
3535
};
3636

3737
export const menu = (name, {exit = _exit} = {}) => {

server/validate.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ test('validate: packer: not valid', (t) => {
6464

6565
test('validate: editor: not valid', (t) => {
6666
const exit = stub();
67-
const msg = 'cloudcmd --editor: could be "dword", "edward", "deepword" or "qword" only, recieved: "hello"';
67+
const msg = 'cloudcmd --editor: could be "dword", "edward", "deepword" or "qword" only, received: "hello"';
6868

6969
validate.editor('hello', {
7070
exit,

0 commit comments

Comments
 (0)