Skip to content

Commit

Permalink
fix texts of initial settings assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
zawys committed Feb 6, 2021
1 parent a301ecd commit 5b9205d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ and this project adheres to

## [Unreleased]

### Fixed

- Texts of notifications from initial settings assistant

## [0.11.0] - 2020-12-19

### Added
Expand Down
8 changes: 4 additions & 4 deletions src/settingsAssistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ class GitOptionAssistant implements OptionAssistant {
return {
question:
`Change Git option \`${this.key}\`. \n` +
`Reason: ${this.description} \n` +
`Reason: ${this.description}. \n` +
"Current value" +
(currentValue === undefined ? " unset" : `: \`${currentValue}\`. \n`) +
`New value: ${this.targetValue}.`,
(currentValue === undefined ? " unset" : `: \`${currentValue}\``) +
`. \nNew value: ${this.targetValue}.`,
options: [
new Option(`Globally`, GitOptionAssistant.globalValue),
new Option(`In repository`, GitOptionAssistant.repositoryValue),
Expand Down Expand Up @@ -268,7 +268,7 @@ class VSCodeOptionAssistant<T> implements OptionAssistant {
return Promise.resolve({
question:
`Change VS Code option \`${this.section}\`. \n` +
`Reason: ${this.description} \n` +
`Reason: ${this.description}. \n` +
`Current value: \`${JSON.stringify(currentValue)}\`. \n` +
`New value: ${JSON.stringify(this.targetValue)}.`,
options: [
Expand Down

0 comments on commit 5b9205d

Please sign in to comment.