Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 7944c6f

Browse files
committed
Fix lint errors
1 parent 3414715 commit 7944c6f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/arduino/vscodeSettings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ export class VscodeSettings implements IVscodeSettings {
6060

6161
public get additionalUrls(): string[] {
6262
const value = this.getConfigValue<string | string[]>(configKeys.ADDITIONAL_URLS);
63-
63+
6464
// Even though the schema says value must be a string array, version
6565
// 0.4.9 and earlier also allowed a single comma delimeted string. We
6666
// continue to unofficially support that format to avoid breaking
6767
// existing settings, but we immediately write back the correctly
6868
// formatted version.
6969
const split = toStringArray(value);
70-
if (typeof value === 'string') {
70+
if (typeof value === "string") {
7171
this.updateAdditionalUrls(split);
7272
}
7373

src/common/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,4 +467,4 @@ export function toStringArray(value: string | string[]): string[] {
467467
}
468468

469469
return [];
470-
}
470+
}

src/views/app/actions/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function openLink(link) {
3939

4040
export function openSettings(query) {
4141
return postHTTP("/api/opensettings", {
42-
query
42+
query,
4343
}).then((response) => response.json());
4444
}
4545

0 commit comments

Comments
 (0)