Closed xhd2015 closed 1 year ago
When running on MacOS, the following command fails:
asty go2json -input some.go
The message is about having no permission to write to /dev/stdout.
/dev/stdout
To fix that, simply don't rely on stdout's name. Specifically, don't call os.Create on it
os.Create
Thanks!
When running on MacOS, the following command fails:
The message is about having no permission to write to
/dev/stdout
.To fix that, simply don't rely on stdout's name. Specifically, don't call
os.Create
on it