mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
chore: lint
This commit is contained in:
parent
579c9e41d7
commit
046a4ef22e
14 changed files with 16 additions and 12 deletions
2
.github/workflows/docker-io.yml
vendored
2
.github/workflows/docker-io.yml
vendored
|
|
@ -1,4 +1,6 @@
|
|||
name: Docker IO
|
||||
permissions:
|
||||
contents: write
|
||||
on:
|
||||
- push
|
||||
jobs:
|
||||
|
|
|
|||
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
|
@ -1,4 +1,6 @@
|
|||
name: Docker CI
|
||||
permissions:
|
||||
contents: write
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import path, {dirname} from 'node:path';
|
||||
import {fileURLToPath} from 'node:url';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import {test, stub} from 'supertape';
|
||||
import cloudcmd, {
|
||||
_isDev,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import {join} from 'node:path';
|
|||
import {promisify} from 'node:util';
|
||||
import {tryToCatch} from 'try-to-catch';
|
||||
import test from 'supertape';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
import markdown from './index.js';
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {Readable} from 'node:stream';
|
|||
import fs from 'node:fs';
|
||||
import {tryToCatch} from 'try-to-catch';
|
||||
import {test, stub} from 'supertape';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
import {_getReadDir} from './route.js';
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {dirname, join} from 'node:path';
|
|||
import {fileURLToPath} from 'node:url';
|
||||
import {readFileSync} from 'node:fs';
|
||||
import {test, stub} from 'supertape';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import {putout} from 'putout';
|
||||
import {userMenu} from './user-menu.js';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import test from 'supertape';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import {dirname, join} from 'node:path';
|
||||
import {fileURLToPath} from 'node:url';
|
||||
import {mkdirSync} from 'node:fs';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import test from 'supertape';
|
||||
import {rimraf} from 'rimraf';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import test from 'supertape';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import {EventEmitter} from 'node:events';
|
||||
import wait from '@iocmd/wait';
|
||||
import {test, stub} from 'supertape';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
test('cloudcmd: rest: move', async (t) => {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import test from 'supertape';
|
|||
import tar from 'tar-stream';
|
||||
import gunzip from 'gunzip-maybe';
|
||||
import pullout from 'pullout';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import fs from 'node:fs';
|
|||
import test from 'supertape';
|
||||
import {Volume} from 'memfs';
|
||||
import {ufs} from 'unionfs';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
test('cloudcmd: rest: rename', async (t) => {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import {createRequire} from 'node:module';
|
||||
import {dirname, join} from 'node:path';
|
||||
import {fileURLToPath} from 'node:url';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import {test, stub} from 'supertape';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
import modulas from '../../server/modulas.js';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import {Buffer} from 'node:buffer';
|
||||
import serveOnce from 'serve-once';
|
||||
import {serveOnce} from 'serve-once';
|
||||
import test from 'supertape';
|
||||
import criton from 'criton';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue