Skip to content

Commit

Permalink
Prettier.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdctaka committed Jun 13, 2023
1 parent 0ec2880 commit 1e488c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/test/suite/utils/orgUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ suite('Org Utils Test Suite', () => {
const reloadSpy = sinon.spy(() => {
return Promise.resolve;
});

const config: SinonStub = sinon.stub(ConfigAggregator, 'create');
config.returns({
getInfo: (key: OrgConfigProperties) => {
Expand All @@ -87,7 +87,7 @@ suite('Org Utils Test Suite', () => {
const defaultUser = await OrgUtils.getDefaultUser();

assert.equal(defaultUser, 'username');
assert.equal(reloadSpy.called, true, "reload should be invoked");
assert.equal(reloadSpy.called, true, 'reload should be invoked');
});

test('Returns list of sobjects', async () => {
Expand Down
8 changes: 4 additions & 4 deletions src/utils/uiUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import { window, QuickPickItem, QuickPickItemKind, QuickPick } from 'vscode';
export class UIUtils {
/**
* Wraps the ability to ask user for a selection from a quick pick list.
*
*
* @param placeholderMessage Message shown to user in the quick pick text entry box.
* @param progressMessage Message shown while the quick pick is shown, but is not yet enabled due
* @param progressMessage Message shown while the quick pick is shown, but is not yet enabled due
* to building a list of options via the callback.
* @param optionsCallback Callback used to provide an array of QuickPickItems.
* @param ignoreFocusOut Boolean for the ignoreFocusOut option on QuickPick.
Expand All @@ -40,13 +40,13 @@ export class UIUtils {
if (selectedItem) {
resolve(selectedItem);
} else {
reject("Nothing selected");
reject('Nothing selected');
}
});

quickPick.onDidHide((e) => {
quickPick.dispose();
reject("Hiding");
reject('Hiding');
});

if (progressMessage) {
Expand Down

0 comments on commit 1e488c4

Please sign in to comment.