Interactive preview/print gives different results
tko opened this issue · 2 comments
tko commented
Given a package.json that has structure like
{
"name": "test",
"dependencies": {
"this": "1"
},
"devDependencies": {
"that": "1"
}
}running from command line works as expected
❯ fx package.json .dependencies
{
"this": "1"
}
whereas in interactive mode print/preview prints the whole file.
OTOH in interactive mode .name works the same as with command line.
❯ fx --version
36.0.3
antonmedv commented
Ammm, did get it.
antonmedv commented
Got it:
Screen.Recording.2025-06-19.at.11.05.03.mov
Yes, this is confusing. Right now if selected thing is an object, fx previews the parent object =)
We need to change this.