mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature: server: columns: get rid of mock-require
This commit is contained in:
parent
46c8accd84
commit
98d3a4cc56
41 changed files with 233 additions and 215 deletions
|
|
@ -1,11 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
const process = require('process');
|
||||
const process = require('node:process');
|
||||
const DIR = '../';
|
||||
const DIR_COMMON = `${DIR}../common/`;
|
||||
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
|
||||
const root = require(`${DIR}root`);
|
||||
const CloudFunc = require(`${DIR_COMMON}cloudfunc`);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
const process = require('process');
|
||||
const process = require('node:process');
|
||||
const format = require('format-io');
|
||||
|
||||
const {version} = require('../../package');
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
const process = require('process');
|
||||
const process = require('node:process');
|
||||
const {test, stub} = require('supertape');
|
||||
|
||||
const info = require('./info');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue