Closed TejasQ closed 2 years ago
Describe the bug
To Reproduce Run xata init, xata schema dump, or any command in a directory that isn't a git repo.
xata init
xata schema dump
git
Expected behavior Either a warning is displayed:
You're not in a git repo, so Xata branches will not be mapped to git branches. More in the docs:
Or, this "fatal" error is not rendered since it doesn't seem to cause any blocking problems.
Software version @xata.io/cli/0.7.0 darwin-arm64 node-v16.15.1
@xata.io/cli/0.7.0 darwin-arm64 node-v16.15.1
Duplicated of https://github.com/xataio/client-ts/issues/466
Closing in favor of https://github.com/xataio/client-ts/issues/466
Describe the bug
To Reproduce Run
xata init
,xata schema dump
, or any command in a directory that isn't agit
repo.Expected behavior Either a warning is displayed:
Or, this "fatal" error is not rendered since it doesn't seem to cause any blocking problems.
Software version
@xata.io/cli/0.7.0 darwin-arm64 node-v16.15.1