Skip to content

False positive if there is a folder with the same name as the command in question #35

Description

@macCesar

Hi there...

I'm trying your module.. But it throws false positives when testing for a command with the same name as a folder at the testing location...

For example..

/myProject
  /myFolderName
  /anotherFolder
  /myCommand <-- folder with the same name as the command.

If I test commandExists('myCommand') inside myProject it will throw true because of the folder with the same name as the command.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions