Skip to content

Commit

Permalink
Update boolean type
Browse files Browse the repository at this point in the history
  • Loading branch information
GJMcGowan committed Feb 15, 2023
1 parent 318a2f8 commit a09ff48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let currentCommand: string;
let allowAnonymousAnalytics: boolean;
let anonymousUserId: string;

export async function maybeConfigureAnalytics(track: boolean) {
export async function maybeConfigureAnalytics(track?: boolean) {
const settings = await getConfigSettings();
if (track !== undefined) {
allowAnonymousAnalytics = track;
Expand Down

0 comments on commit a09ff48

Please sign in to comment.