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 8de7853 commit 44eeb53Copy full SHA for 44eeb53
packages/mongodb-memory-server-core/src/util/utils.ts
@@ -270,3 +270,12 @@ export async function checkBinaryPermissions(path: string): Promise<void> {
270
throw err;
271
}
272
273
+
274
+/**
275
+ * Make Directory, wrapper for native mkdir with recursive true
276
+ * @param path The Path to create
277
+ * @returns Nothing
278
+ */
279
+export async function mkdir(path: string): Promise<void> {
280
+ await fspromises.mkdir(path, { recursive: true });
281
+}
0 commit comments