Skip to content

Bug report: Incorrect output when selecting a single property using JMESPath query #2095

Description

@waldekmastykarz

Description

When you use JMESPath query to select a single property from the object retrieved from the API, CLI incorrectly renders the output in the terminal.

Steps to reproduce

m365 spo get --query 'SpoUrl'

Expected result

https://m365x271534.sharepoint.com

Actual result

14    : 7
15    : 1
16    : 5
17    : 3
18    : 4
19    : .
2     : t
20    : s
21    : h
22    : a
23    : r
24    : e
25    : p
26    : o
27    : i
28    : n
29    : t
3     : p
30    : .
31    : c
32    : o
33    : m
4     : s
5     : :
6     : /
7     : /
8     : m
9     : 3
length: 34

Environment

Latest preview (v3.5.0)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions