mirror of
https://github.com/soywod/himalaya.git
synced 2024-07-08 18:45:13 +00:00
fix edition file format (#133)
This commit is contained in:
parent
cddb7bde37
commit
754d311a05
|
@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- IDLE mode after network interruption [#123]
|
- IDLE mode after network interruption [#123]
|
||||||
- Output redirected to `stderr` [#130]
|
- Output redirected to `stderr` [#130]
|
||||||
- Refactor table system [#132]
|
- Refactor table system [#132]
|
||||||
|
- Editon file format on Linux [#133]
|
||||||
|
|
||||||
## [0.2.6] - 2021-04-17
|
## [0.2.6] - 2021-04-17
|
||||||
|
|
||||||
|
@ -211,3 +212,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
[#126]: https://github.com/soywod/himalaya/issues/126
|
[#126]: https://github.com/soywod/himalaya/issues/126
|
||||||
[#130]: https://github.com/soywod/himalaya/issues/130
|
[#130]: https://github.com/soywod/himalaya/issues/130
|
||||||
[#132]: https://github.com/soywod/himalaya/issues/132
|
[#132]: https://github.com/soywod/himalaya/issues/132
|
||||||
|
[#133]: https://github.com/soywod/himalaya/issues/133
|
||||||
|
|
|
@ -36,7 +36,7 @@ impl fmt::Display for Tpl {
|
||||||
unsafe {
|
unsafe {
|
||||||
match get_output_fmt() {
|
match get_output_fmt() {
|
||||||
&OutputFmt::Plain => {
|
&OutputFmt::Plain => {
|
||||||
writeln!(f, "{}", self.0)
|
write!(f, "{}", self.0)
|
||||||
}
|
}
|
||||||
&OutputFmt::Json => {
|
&OutputFmt::Json => {
|
||||||
let res = serde_json::to_string(&Response::new(self)).unwrap();
|
let res = serde_json::to_string(&Response::new(self)).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue