Skip to content

Commit bc4313f

Browse files
committed
Various cleanup after windows fixes
1 parent 1dfb5d0 commit bc4313f

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

packages/cli-v3/src/entryPoints/deploy-index-worker.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ async function loadBuildManifest() {
7575
async function bootstrap() {
7676
const buildManifest = await loadBuildManifest();
7777

78-
console.log("Importing config from", buildManifest.configPath);
79-
console.log(
80-
"Importing config from normalized path",
81-
normalizeImportPath(buildManifest.configPath)
82-
);
83-
8478
const { config } = await importConfig(normalizeImportPath(buildManifest.configPath));
8579

8680
// This needs to run or the PrismaInstrumentation will throw an error

packages/cli-v3/src/sourceDir-cjs.cts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
import { pathToFileURL } from "node:url";
2-
import { isWindows } from "std-env";
32
//@ts-ignore - Have to ignore because TSC thinks this is ESM
4-
export const sourceDir = isWindows
5-
? pathToFileURL(__dirname).toString()
6-
: pathToFileURL(__dirname).toString();
3+
export const sourceDir = pathToFileURL(__dirname).toString();

packages/cli-v3/src/sourceDir.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
import { fileURLToPath } from "node:url";
2-
import { isWindows } from "std-env";
32
//@ts-ignore
4-
export const sourceDir = isWindows
5-
? fileURLToPath(new URL(".", import.meta.url))
6-
: fileURLToPath(new URL(".", import.meta.url));
3+
export const sourceDir = fileURLToPath(new URL(".", import.meta.url));

0 commit comments

Comments
 (0)