@prisma/fetch-engine
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,1 +0,1 @@ | ||
export declare function ensureBinaries(): Promise<void>; | ||
export declare function ensureBinaries(resultPath?: string): Promise<void>; |
@@ -11,4 +11,4 @@ "use strict"; | ||
const exists = util_1.promisify(fs_1.default.exists); | ||
async function ensureBinaries() { | ||
const runtimeDir = await getRuntimeDir(); | ||
async function ensureBinaries(resultPath) { | ||
const runtimeDir = resultPath || (await getRuntimeDir()); | ||
const prisma = path_1.default.join(runtimeDir, 'prisma'); | ||
@@ -15,0 +15,0 @@ const schemaInferrer = path_1.default.join(runtimeDir, 'schema-inferrer-bin'); |
@@ -5,3 +5,3 @@ #!/usr/bin/env node | ||
const ensurebinaries_1 = require("./ensurebinaries"); | ||
ensurebinaries_1.ensureBinaries().catch(console.error); | ||
ensurebinaries_1.ensureBinaries(process.argv.length > 2 ? process.argv.length[2] : undefined).catch(console.error); | ||
//# sourceMappingURL=run.js.map |
{ | ||
"name": "@prisma/fetch-engine", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20063