Skip to content

Commit

Permalink
fix prisma schema path interpolation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Sep 11, 2024
1 parent 0e397a7 commit e69e2d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/node/src/prisma/run-prisma-command.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {log} from '@augment-vir/common';
import {interpolationSafeWindowsPath} from '../augments/path/os-path.js';
import {runShellCommand, type ShellOutput} from '../augments/terminal/shell.js';
import {PrismaSchemaError} from './prisma-errors.js';

Expand Down Expand Up @@ -41,7 +42,7 @@ export async function runPrismaCommand(

log.faint(`> ${fullCommand}`);

const result = await runShellCommand(fullCommand, {
const result = await runShellCommand(interpolationSafeWindowsPath(fullCommand), {
env: {
...process.env,
...env,
Expand Down

0 comments on commit e69e2d3

Please sign in to comment.