Describe the bug
Can not fix the yamlException issue
To Reproduce
write a config file with indentation error -> run smartthings command -> get indentation error -> delete config file-> run any command with --token -> still getting the yaml indentation error and not running if valid token is given
Expected behavior
Run correctly when config file is given correctly
Actual behavior
gives this error everytime
C:\Users\stwin>smartthings config
smartthings config [name]
list profiles defined in config file
Arguments:
name profile name for detail view [string]
Flags:
--help Show help [boolean]
--version Show version number [boolean]
-p, --profile configuration profile [string] [default: "default"]
-o, --output specify output file [string]
-j, --json use JSON format of input and/or output [boolean]
-y, --yaml use YAML format of input and/or output [boolean]
-v, --verbose include additional data in output [boolean] [default: false]
Examples:
smartthings config summarize profiles in config file
smartthings config my-org-1 provide details for profile named "my-org-1"
Sub-Commands:
config:reset clear saved answers to questions
YAMLException: tab characters must not be used in indentation (2:1)
1 | default:
2 | →token:CASLgysj2xLUc1iaw6ic1jNbQ
-----^
at generateError (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:151736:10)
at throwError (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:151740:9)
at readBlockMapping (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:152605:7)
at composeNode (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:152984:12)
at readDocument (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:153168:3)
at loadDocuments (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:153231:5)
at Object.load$1 [as load] (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:153257:19)
at loadConfigFile (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:163551:27)
at async loadConfig (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:163592:20)
at async smartThingsCommand (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:164032:23) {
reason: 'tab characters must not be used in indentation',
mark: {
name: null,
buffer: 'default:\r\n\ttoken:CASLgysj2xLUc1iaw6ic1jNbQ\n',
position: 10,
line: 1,
column: 0,
snippet: ' 1 | default:\n 2 | →token:CASLgysj2xLUc1iaw6ic1jNbQ\n-----^'
}
}
Additional context
Add any other context about the problem here. Please include output of smartthings --version. Screenshots can be helpful too.

Describe the bug
Can not fix the yamlException issue
To Reproduce
write a config file with indentation error -> run smartthings command -> get indentation error -> delete config file-> run any command with --token -> still getting the yaml indentation error and not running if valid token is given
Expected behavior
Run correctly when config file is given correctly
Actual behavior
gives this error everytime
C:\Users\stwin>smartthings config
smartthings config [name]
list profiles defined in config file
Arguments:
name profile name for detail view [string]
Flags:
--help Show help [boolean]
--version Show version number [boolean]
-p, --profile configuration profile [string] [default: "default"]
-o, --output specify output file [string]
-j, --json use JSON format of input and/or output [boolean]
-y, --yaml use YAML format of input and/or output [boolean]
-v, --verbose include additional data in output [boolean] [default: false]
Examples:
smartthings config summarize profiles in config file
smartthings config my-org-1 provide details for profile named "my-org-1"
Sub-Commands:
config:reset clear saved answers to questions
YAMLException: tab characters must not be used in indentation (2:1)
1 | default:
2 | →token:CASLgysj2xLUc1iaw6ic1jNbQ
-----^
at generateError (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:151736:10)
at throwError (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:151740:9)
at readBlockMapping (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:152605:7)
at composeNode (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:152984:12)
at readDocument (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:153168:3)
at loadDocuments (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:153231:5)
at Object.load$1 [as load] (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:153257:19)
at loadConfigFile (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:163551:27)
at async loadConfig (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:163592:20)
at async smartThingsCommand (file:///C:/Program%20Files/SmartThings/cli/dist_bin/smartthings.mjs:164032:23) {
reason: 'tab characters must not be used in indentation',
mark: {
name: null,
buffer: 'default:\r\n\ttoken:CASLgysj2xLUc1iaw6ic1jNbQ\n',
position: 10,
line: 1,
column: 0,
snippet: ' 1 | default:\n 2 | →token:CASLgysj2xLUc1iaw6ic1jNbQ\n-----^'
}
}
Additional context
Add any other context about the problem here. Please include output of
smartthings --version. Screenshots can be helpful too.