Skip to content
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- Fixed a Data Connect emulator issue where prepared statements would be persisted after terminated connections.
- Added a warning when deploying a Genkit function without a secret as this is likely a bug (#8138)
- Fixed `.env.*` files for web frameworks in Windows (#8086)
4 changes: 2 additions & 2 deletions src/frameworks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import {
FrameworkContext,
FrameworksOptions,
} from "./interfaces";
import { logWarning } from "../utils";
import { IS_WINDOWS, logWarning } from "../utils";
import { ensureTargeted } from "../functions/ensureTargeted";
import { isDeepStrictEqual } from "util";
import { resolveProjectPath } from "../projectPath";
Expand Down Expand Up @@ -525,7 +525,7 @@ ${
}`.trimStart(),
);

const envs = await glob(getProjectPath(".env.*"));
const envs = await glob(getProjectPath(".env.*"), { windowsPathsNoEscape: IS_WINDOWS });

await Promise.all(envs.map((path) => copyFile(path, join(functionsDist, basename(path)))));

Expand Down