Skip to content

Uncompatiple with older node versions #22

@erlandasz

Description

@erlandasz

const { noTimestamp, noFilename, onlyMessage, noColor } = prettyOpts;

Just wanted to let you know, that this line compiles into this (can view here: https://www.npmjs.com/package/logality/v/3.1.3?activeTab=explore)

  const noTimestamp = !!prettyOpts?.noTimestamp;
  const noFilename = !!prettyOpts?.noFilename;
  const onlyMessage = !!prettyOpts?.onlyMessage;

making it incompatible with older node versions (tried it with node v12.18.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions