ruyadorno/ntl

Descriptions abruptly stopped displaying

bassplayer7 opened this issue ยท 7 comments

I have been using ntl for a while but today, it abruptly stopped working. Is there anything in particular that may have caused this? I am not aware of a change in my environment.

Here's a reduced example of my package.json:

{
  "scripts": {
    "dev": "ntl -d -o",
    "dev:app": "cd ui/app && yarn serve",
    "dev:config": "cd ui/config && yarn serve"
  },
  "ntl": {
    "descriptions": {
      "dev:app": "Run app",
      "dev:config": "Run Config"
    }
  }
}

Output:

$ yarn dev
yarn run v1.13.0
$ ntl -d -o
No descriptions for your npm scripts found
โœ” Npm Task List - v3.1.0
? Select a task to run: (Use arrow keys)

Which Node.js Version are you using?

Node v11.9.0

Oops. It was a bug I brought in with #33.

Sorry ๐Ÿ™ˆ

I already created a PR to fix this. Hope @ruyadorno will publish this soonish.

done โœ…

thanks for the quick fix @mischah ๐Ÿ˜„

No problem ๐Ÿ˜…

Wow! Thanks for the quick effort, friends. I can confirm it is working once again.

I have the same problem. I use node v12.13.0 version