Skip to content

Commit

Permalink
Fixed a bug that dealds with add/remove subsciption while managing a …
Browse files Browse the repository at this point in the history
…queue
  • Loading branch information
gvensan committed Jan 31, 2024
1 parent 0cad353 commit 6db4f34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stm",
"version": "0.0.25",
"version": "0.0.26",
"description": "Solace Try-Me Command Line Tool",
"keywords": [
"solace",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const queue = (options: ManageClientOptions, optionsSource: any) => {
if (!options.config && options.operation === 'UPDATE') {
Object.keys(options).forEach((option) => {
if (!option.startsWith('semp')) {
if (optionsSource[option] !== 'cli')
if (optionsSource[option] && optionsSource[option] !== 'cli')
options[option] = undefined;
}
})
Expand Down

0 comments on commit 6db4f34

Please sign in to comment.