use node: prefix for requires
mostly because code is being autogenerated by all the AI stuff using this prefix. it's also used in the stack trace.
This commit is contained in:
+3
-3
@@ -6,11 +6,11 @@ exports = module.exports = {
|
||||
listLanguages
|
||||
};
|
||||
|
||||
const assert = require('assert'),
|
||||
const assert = require('node:assert'),
|
||||
cloudron = require('./cloudron.js'),
|
||||
debug = require('debug')('box:translation'),
|
||||
fs = require('fs'),
|
||||
path = require('path'),
|
||||
fs = require('node:fs'),
|
||||
path = require('node:path'),
|
||||
paths = require('./paths.js'),
|
||||
safe = require('safetydance');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user