Skip to content

Different output behaviour since 0.2.0 regarding quotes #22

@jxs

Description

@jxs

Hi there, and thank you for maintaining tomlq!
Since the 0.2.0 version the tq -f Cargo.toml 'package.version' command now outputs the version surrounded by double quotes:

version 0.1.6:

$ tq -f Cargo.toml 'package.version'                                                                                                                                                                                                                                           
0.48.0

version 0.2.0 and 0.2.1

$ tq -f Cargo.toml 'package.version'                                                                                                                                                                                                                                           
"0.48.0"

this breaks our CI at rust-libp2p, see libp2p/rust-libp2p#5817.
Is there a plan to revert this, or offer a -r flag like jqdoes?
Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions