woshilapin / codingame-connector

5 stars 0 forks source link

The '--version' command line option doesn't work #25

Closed woshilapin closed 7 years ago

woshilapin commented 7 years ago

This option works if you run it from the development environment with npm run start -- --version because the file package.json is present and because the relative path ./package.json is correct. However, it doesn't work from the npm global installation because the file package.json is not installed.

woshilapin commented 7 years ago

It's even worst that just --version not working because it's trying to read the package.json file which doesn't exists...

woshilapin commented 7 years ago

OK, this --version command is making the whole program going crazy. For now, removing it because it's causing blocking bugs only for a version number.