Skip to content
Snippets Groups Projects
Commit f543cacb authored by Phillip Smyth's avatar Phillip Smyth
Browse files

Fixed workspace list error message

If no workspaces were found, bst workspace would return `[]`
This has been changed to a nicer message
parent 4c0ac6e4
No related branches found
No related tags found
Loading
......@@ -641,6 +641,9 @@ class Stream():
}
workspaces.append(workspace_detail)
if not workspaces:
workspaces = "No workspaces found"
_yaml.dump({
'workspaces': workspaces
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment