drizzle-kit 0.20.6-88f61dc → 0.20.6-955c8c7
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +1 -1
- package/package.json +1 -1
package/bin.cjs
CHANGED
@@ -62838,12 +62838,12 @@ var p = envPaths("drizzle-studio", {
|
|
62838
62838
|
});
|
62839
62839
|
$.verbose = false;
|
62840
62840
|
$.cwd = p.data;
|
62841
|
+
(0, import_fs11.mkdirSync)(p.data, { recursive: true });
|
62841
62842
|
var certs = async () => {
|
62842
62843
|
const res = await $`mkcert --help`.nothrow();
|
62843
62844
|
const keyPath = (0, import_path7.join)(p.data, "localhost-key.pem");
|
62844
62845
|
const certPath = (0, import_path7.join)(p.data, "localhost.pem");
|
62845
62846
|
if (res.exitCode === 0) {
|
62846
|
-
(0, import_fs11.mkdirSync)(p.data, { recursive: true });
|
62847
62847
|
try {
|
62848
62848
|
await Promise.all([(0, import_promises.access)(keyPath), (0, import_promises.access)(certPath)]);
|
62849
62849
|
} catch (e) {
|