We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1fa3eb commit fde3abeCopy full SHA for fde3abe
1 file changed
scripts/db_tools/manage-db.ts
@@ -41,7 +41,10 @@
41
"
42
*/
43
44
+import * as fs from 'fs/promises';
45
import { Db, MongoClient } from 'mongodb';
46
+import * as os from 'os';
47
+import * as path from 'path';
48
import * as RichText from 'rich-text';
49
import ShareDB from 'sharedb';
50
import { Connection } from 'sharedb/lib/client';
@@ -50,6 +53,11 @@ import yargs from 'yargs';
53
import { hideBin } from 'yargs/helpers';
51
54
import utilsLib from './utils';
52
55
56
+// Keep 'unused' imports available for use in eval code.
57
+const _a = fs;
58
+const _b = os;
59
+const _c = path;
60
+
61
type ProgArgs = {
62
server: string;
63
eval: string;
0 commit comments