mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: lint
This commit is contained in:
parent
1679b788c2
commit
5f0391fc44
7 changed files with 30 additions and 32 deletions
|
|
@ -1,6 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
const {join} = require('node:path');
|
||||
const {callbackify} = require('node:util');
|
||||
|
||||
const pullout = require('pullout');
|
||||
|
|
@ -8,8 +7,9 @@ const ponse = require('ponse');
|
|||
const {read} = require('redzip');
|
||||
|
||||
const root = require('../root');
|
||||
const isString = (a) => typeof a === 'string';
|
||||
|
||||
const parse = require('./worker');
|
||||
const isString = (a) => typeof a === 'string';
|
||||
|
||||
// warm up
|
||||
parse('');
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import {createRequire} from 'node:module';
|
||||
import {homedir} from 'node:os';
|
||||
import {readFile as _readFile} from 'node:fs/promises';
|
||||
import {join} from 'node:path';
|
||||
|
|
@ -7,8 +6,6 @@ import tryToCatch from 'try-to-catch';
|
|||
import currify from 'currify';
|
||||
import {putout, codeframe} from 'putout';
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
|
||||
// warm up worker cache
|
||||
transpile('');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue