Skip to content

Commit

Permalink
(fix) fix undefined author in build file header
Browse files Browse the repository at this point in the history
Resolves #4016
  • Loading branch information
joshgoebel committed Mar 21, 2024
1 parent ca77d5b commit 451809b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const getDefaultHeader = () => ({
function buildHeader(args = getDefaultHeader()) {
return "/*!\n"
+ ` Highlight.js v${args.version} (git: ${args.git_sha})\n`
+ ` (c) ${config.copyrightYears} ${args.author.name} and other contributors\n`
+ ` (c) ${config.copyrightYears} ${args.author} and other contributors\n`
+ ` License: ${args.license}\n`
+ ` */`;
}
Expand Down

0 comments on commit 451809b

Please sign in to comment.