mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-22 18:29:26 +00:00
chore: test: lint
This commit is contained in:
parent
d8da7922d9
commit
907afc6e4a
2 changed files with 9 additions and 13 deletions
|
|
@ -64,9 +64,7 @@ export const connect = promisify((options, fn = options) => {
|
|||
});
|
||||
});
|
||||
|
||||
function defaultConfig() {
|
||||
return {
|
||||
auth: false,
|
||||
root: __dirname,
|
||||
};
|
||||
}
|
||||
const defaultConfig = () => ({
|
||||
auth: false,
|
||||
root: __dirname,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -224,10 +224,8 @@ test('cloudcmd: rest: pack: zip: put: error', async (t) => {
|
|||
t.end();
|
||||
});
|
||||
|
||||
function getPackOptions(to, names = ['pack']) {
|
||||
return {
|
||||
to,
|
||||
names,
|
||||
from: '/fixture',
|
||||
};
|
||||
}
|
||||
const getPackOptions = (to, names = ['pack']) => ({
|
||||
to,
|
||||
names,
|
||||
from: '/fixture',
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue