Skip to content

Commit

Permalink
feat: set options.logVersion default value to true
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatAuk committed Apr 22, 2023
1 parent 4316316 commit 609dd76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export function generateJSONFileContent(version: string, silence = false) {
}

export function generateJsFileContent(fileSource: string, version: string, options: Options) {
const { logVersion } = options
const { logVersion = true } = options
let content = `${fileSource}
window.__checkUpdateSetup__(${JSON.stringify(options)});`
if (logVersion) {
Expand Down

0 comments on commit 609dd76

Please sign in to comment.