idyll-lang/idyll

Issue with global version reporting

オープン

#617 opened on 2020/02/26

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (97 件のフォーク)batch import
CLIRough Edgesbughelp wanted

Repository metrics

Stars
 (1,977 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Describe the bug When running idyll --version in a directory outside of an idyll project, I see this:

$ idyll --version

  Using version undefined (installed globally).

  To install local dependencies in an Idyll project that
  you've cloned from GitHub, run `npm install`.

To Reproduce Steps to reproduce the behavior:

  1. Install the latest idyll globally (npm i -g idyll@latest)
  2. Navigate to a folder that does not contain an idyll project
  3. Run idyll --version
  4. See error

Expected behavior The correct version should be printed.

コントリビューターガイド