Skip to content

Undeclared variables in cli.getUsage #101

Description

@cbowdon
  1. Thanks for providing this library, it's great.

  2. I've hit an issue when trying to use tools that force strict mode (e.g. nexe or anything running node --use_strict) because of a couple of undeclared variables in cli.getUsage, long and type. Is there a reason not to declare these or would you like a PR for this?

As far as I can tell those are the only undeclared variables, but there could be more in code paths I haven't exercised. (I tried running JSLint on it, but it wouldn't parse for unrelated reasons.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions