Skip to content

Commit

Permalink
fix: replacePrisma2Command for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Divyendu Singh committed Sep 24, 2019
1 parent 8c8b22d commit e4acb68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function databaseTypeToConnectorType(databaseType: DatabaseType): ConnectorType

export function replacePrisma2Command(command: string): string {
if (/^prisma2\s/.test(command)) {
return `${process.argv[0]} ${process.argv[1]} ${command.slice(8)}`
return `"${process.argv[0]}" "${process.argv[1]}" ${command.slice(8)}`
}

return command
Expand Down

0 comments on commit e4acb68

Please sign in to comment.