Skip to content

Commit 52b4b33

Browse files
committed
fix: don't allow blank lines at the beginning of the dts file
1 parent 9ab5850 commit 52b4b33

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/scaffold/src/utils/prefs-manager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,10 @@ export class PrefsManager {
9999
}
100100

101101
export function renderPluginPrefsDts(prefs: Prefs, prefix: string) {
102-
const dtsContent = `
102+
const dtsContent = `// Generated by zotero-plugin-scaffold
103103
/* prettier-ignore */
104104
/* eslint-disable */
105105
// @ts-nocheck
106-
// Generated by zotero-plugin-scaffold
107106
108107
type _PluginPrefsMap = {
109108
${Object.entries(prefs).map(([key, value]) => {

0 commit comments

Comments
 (0)