Skip to content

Commit fcb8573

Browse files
committed
fix: prepare for prisma 1.7
1 parent 57152d5 commit fcb8573

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

advanced/.install/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = async ({ project, projectDir }) => {
1414

1515
process.chdir('server/')
1616
replaceInFiles(
17-
['src/index.ts', 'package.json', 'database/prisma.yml'],
17+
['src/index.js', 'package.json', 'database/prisma.yml'],
1818
templateName,
1919
project,
2020
)

basic/.install/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = async ({ project, projectDir }) => {
1818
templateName,
1919
project,
2020
)
21-
replaceInFiles(['src/index.ts'], '__PRISMA_ENDPOINT__', endpoint)
21+
replaceInFiles(['src/index.js'], '__PRISMA_ENDPOINT__', endpoint)
2222
replaceInFiles(['database/prisma.yml'], '__PRISMA_ENDPOINT__', endpoint)
2323

2424
console.log('Running $ prisma deploy...')

0 commit comments

Comments
 (0)