Skip to content

Commit

Permalink
Merge pull request #45 from Qiskit/fix-40-update
Browse files Browse the repository at this point in the history
Fix related to issue 40: a package must be only updated when the user accepts the modal dialog
  • Loading branch information
ydarias authored Oct 25, 2018
2 parents 7c5aac2 + 7b91b28 commit a7c45b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### 🎉 Added

### 🐛 Fixed
- Changing update packages modal behavior: they must be only updated if the user clicks OK explicitly ([#45](https://github.com/Qiskit/qiskit-vscode/pull/45) by [@cbjuan](https://github.com/cbjuan))

### ✏️ Changed

Expand Down
4 changes: 2 additions & 2 deletions client/src/packages/packageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ export class PackageManager {
QLogger.verbose(`Clicked on Dismiss!`, this);
return false;
} else {
QLogger.verbose(`Clicked on other element! Updating anyway...`, this);
return true;
QLogger.verbose(`Clicked on another element! Cancelling update`, this);
return false;
}
}

Expand Down

0 comments on commit a7c45b9

Please sign in to comment.