mirror of
https://github.com/laurent22/joplin.git
synced 2025-02-01 19:15:01 +02:00
Chore: Prevent database schema generation script from adding extra spaces
This commit is contained in:
parent
771ada0184
commit
012fe0fb44
@ -109,7 +109,7 @@ async function main() {
|
||||
const listRendererDependency = `type ListRendererDatabaseDependency = ${generateListRenderDependencyType(definitions.tables)};`;
|
||||
const noteListTypeFilePath = `${rootDir}/packages/lib/services/plugins/api/noteListType.ts`;
|
||||
|
||||
await fs.writeFile(targetFile, `${staticContent}\n\n${header}\n\n${tsString}\n\n${runtimeContent}`, 'utf8');
|
||||
await fs.writeFile(targetFile, `${staticContent.trim()}\n\n${header}\n\n${tsString}\n\n${runtimeContent}`, 'utf8');
|
||||
|
||||
console.info(`Writing ListRendererDatabaseDependency type to ${noteListTypeFilePath}...`);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user