mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 07:35:05 -04:00
Added node workspace.
This commit is contained in:
parent
95d99424e1
commit
65046a3ff2
11 changed files with 29 additions and 27 deletions
|
@ -10,18 +10,18 @@
|
|||
* node bin/plugins/checkPlugin.js ep_whatever autopush
|
||||
*/
|
||||
|
||||
import process from 'process';
|
||||
import process from 'node:process';
|
||||
|
||||
// As of v14, Node.js does not exit when there is an unhandled Promise rejection. Convert an
|
||||
// unhandled rejection into an uncaught exception, which does cause Node.js to exit.
|
||||
process.on('unhandledRejection', (err) => { throw err; });
|
||||
|
||||
import {strict as assert} from 'assert';
|
||||
import fs from 'fs';
|
||||
import fs from 'node:fs';
|
||||
const fsp = fs.promises;
|
||||
import childProcess from 'child_process';
|
||||
import childProcess from 'node:child_process';
|
||||
import log4js from 'log4js';
|
||||
import path from 'path';
|
||||
import path from 'node:path';
|
||||
|
||||
const logger = log4js.getLogger('checkPlugin');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue