Skip to content

Commit

Permalink
fix: don't allow blank lines at the beginning of the dts file
Browse files Browse the repository at this point in the history
  • Loading branch information
northword committed Jan 5, 2025
1 parent 9ab5850 commit 52b4b33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/scaffold/src/utils/prefs-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,10 @@ export class PrefsManager {
}

export function renderPluginPrefsDts(prefs: Prefs, prefix: string) {
const dtsContent = `
const dtsContent = `// Generated by zotero-plugin-scaffold
/* prettier-ignore */
/* eslint-disable */
// @ts-nocheck
// Generated by zotero-plugin-scaffold
type _PluginPrefsMap = {
${Object.entries(prefs).map(([key, value]) => {
Expand Down

0 comments on commit 52b4b33

Please sign in to comment.