Skip to content

Commit

Permalink
fix: set xz true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rannn505 committed Jan 16, 2022
1 parent 146230f commit 55471a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tarballs/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export async function buildConfig(root: string, options: {xz?: boolean; targets?
config,
tmp,
updateConfig,
xz: typeof options.xz === 'boolean' ? options.xz : Boolean(updateConfig.s3.xz),
xz: options?.xz ?? updateConfig?.s3?.xz ?? true,
dist: (...args: string[]) => path.join(config.root, 'dist', ...args),
s3Config: updateConfig.s3,
nodeVersion,
Expand Down

0 comments on commit 55471a3

Please sign in to comment.