Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 19f3348

Browse files
committed
[fix]: no new line at beginning of file on generation;
1 parent a8bcc38 commit 19f3348

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app-builder.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ files.forEach(file => {
2525
const pageJsonPath = path.join(pagePath, 'index.json');
2626
fs.copyFileSync(indexFilePath, pageJsonPath);
2727

28-
const pageContent = `
29-
// @ts-nocheck
28+
const pageContent = `// @ts-nocheck
3029
import React from 'react';
3130
import RedditPostRenderer from '../../component/reddit/RedditPostRenderer';
3231
import data${file} from './index.json';

0 commit comments

Comments
 (0)