Skip to content

Commit

Permalink
Fix new field file too verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Mar 20, 2024
1 parent c220d58 commit 210c55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/create_field.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async function createFieldFile() {
process.stdout.write(" > Creating Field definition file...\n");

const templateFile = templatesPath+'/TemplateField.ts';
const fieldFile = path.resolve(fieldsDir+'/'+fieldName.fullPascalCase+'.ts');
const fieldFile = path.resolve(fieldsDir+'/'+fieldName.basePascalCase+'.ts');

const cnt = (await fs.readFile(templateFile, 'utf8'))
.replace(/__baseSnakeCase__/g, fieldName.baseSnakeCase)
Expand Down

0 comments on commit 210c55b

Please sign in to comment.