openfga / cli

A cross-platform CLI to interact with an OpenFGA server
https://openfga.dev
Apache License 2.0
50 stars 26 forks source link

`store import` without tuples always fails #368

Closed Pie4kaiz closed 1 month ago

Pie4kaiz commented 4 months ago

When using store import just for the model but without or with an empty tuples section, it always errors with: Error: failed to import store: failed to finish progress bar: max must be greater than 0

From looking at the code, the model should've still been imported though, so just a surface thing.

ap0calypse8 commented 1 month ago

please review my pr #408