Skip to content

Commit 3177a81

Browse files
committed
refactor: remove temp variable
1 parent 262de34 commit 3177a81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/widgets/CredentialsBox.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ export class GitCredentialsForm extends Widget
4444
* Returns the input value.
4545
*/
4646
getValue(): IGitAuth {
47-
let credentials = {
47+
return {
4848
username: this._user.value,
4949
password: this._password.value
5050
};
51-
return credentials;
5251
}
5352

5453
private _user: HTMLInputElement;

0 commit comments

Comments
 (0)