Skip to content

Commit 8d118ee

Browse files
authored
chore: rename starter.zmodel to starter.txt to avoid vscode extension errors (#2158)
1 parent de7b2b8 commit 8d118ee

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/schema/src/cli/actions/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export async function init(projectPath: string, options: Options) {
4545
fs.copyFileSync(prismaSchema, zmodelFile);
4646
} else {
4747
// create a new model
48-
const starterContent = fs.readFileSync(path.join(__dirname, '../../res/starter.zmodel'), 'utf-8');
48+
const starterContent = fs.readFileSync(path.join(__dirname, '../../res/starter.txt'), 'utf-8');
4949
fs.writeFileSync(zmodelFile, starterContent);
5050
sampleModelGenerated = true;
5151
}

0 commit comments

Comments
 (0)