chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2024-07-03 12:01:49 +00:00
parent 2ae6ad34fc
commit 79fb49479e
14 changed files with 18 additions and 17 deletions

View file

@ -1,13 +1,13 @@
import process from 'node:process';
import http from 'node:http';
import os from 'node:os';
import {promisify} from 'node:util';
import {fileURLToPath} from 'node:url';
import {dirname} from 'node:path';
import express from 'express';
import {Server} from 'socket.io';
import writejson from 'writejson';
import readjson from 'readjson';
import {promisify} from 'node:util';
import {fileURLToPath} from 'node:url';
import {dirname} from 'node:path';
import cloudcmd from '../server/cloudcmd.mjs';
const __filename = fileURLToPath(import.meta.url);

View file

@ -1,7 +1,7 @@
import {dirname, join} from 'node:path';
import {fileURLToPath} from 'node:url';
import serveOnce from 'serve-once';
import {mkdirSync} from 'node:fs';
import serveOnce from 'serve-once';
import test from 'supertape';
import {rimraf} from 'rimraf';
import cloudcmd from '../../server/cloudcmd.mjs';

View file

@ -1,5 +1,5 @@
import wait from '@iocmd/wait';
import {EventEmitter} from 'node:events';
import wait from '@iocmd/wait';
import {test, stub} from 'supertape';
import serveOnce from 'serve-once';
import cloudcmd from '../../server/cloudcmd.mjs';

View file

@ -1,13 +1,13 @@
import fs from 'node:fs';
import {join, dirname} from 'node:path';
import {promisify} from 'node:util';
import {fileURLToPath} from 'node:url';
import test from 'supertape';
import tar from 'tar-stream';
import gunzip from 'gunzip-maybe';
import pullout from 'pullout';
import cloudcmd from '../../server/cloudcmd.mjs';
import serveOnce from 'serve-once';
import {fileURLToPath} from 'node:url';
import cloudcmd from '../../server/cloudcmd.mjs';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

View file

@ -1,8 +1,8 @@
import path, {dirname} from 'node:path';
import {once} from 'node:events';
import test from 'supertape';
import {fileURLToPath} from 'node:url';
import {createRequire} from 'node:module';
import test from 'supertape';
import io from 'socket.io-client';
import {connect} from '../before.mjs';