mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
Added node workspace.
This commit is contained in:
parent
95d99424e1
commit
65046a3ff2
11 changed files with 29 additions and 27 deletions
|
@ -7,10 +7,10 @@
|
|||
|
||||
// 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.
|
||||
import path from "path";
|
||||
import path from "node:path";
|
||||
|
||||
import fs from "fs";
|
||||
import process from "process";
|
||||
import fs from "node:fs";
|
||||
import process from "node:process";
|
||||
import axios from "axios";
|
||||
|
||||
process.on('unhandledRejection', (err) => { throw err; });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue