Should this really be considered an error? ``` $ p...
# general
f
Should this really be considered an error?
Copy code
$ pulumi stack output --stack ComputeSoftware/datomic-prod
error: current stack has no output properties
b
If the command issued no output, would that be more surprising? Or would you expect some output just not with red text and an error prefix?
f
I just wouldn't expect the process to exit with a non-zero status.
So yes, perhaps no red text and error prefix.
b
Okay, but if there was just text that said “current stack has no output properties” (and exited with code 0) that would seem reasonable to you?
f
Yes
b
Thanks, I’ll open an issue.
👍 1
b
If
--json
is passed, however, it should return the empty map.
👍 1