sindresorhus / emoj

Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:
MIT License
2.36k stars 57 forks source link

emoj not working if you are not running it within the folder with package.json #44

Closed MaciejTrojniarz closed 4 years ago

MaciejTrojniarz commented 4 years ago

I've tried to run emoj in the terminal but for some reason it requires projectName option and doesn't work from outside of the catalog of the any project with package.json.

npx emoj 'Not working when not in JS project'
Project name could not be inferred. Please specify the `projectName` option.
sindresorhus commented 4 years ago

Fixed in 3.0.1

MaciejTrojniarz commented 4 years ago

That was fast. I've just finished fix I wanted to create pull request. Thanks @sindresorhus