Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9be9b25

Browse filesBrowse files
Massimiliano Pippimasci
authored andcommitted
fix format
1 parent c2deca4 commit 9be9b25
Copy full SHA for 9be9b25

File tree

Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed

‎src/installer.ts

Copy file name to clipboardExpand all lines: src/installer.ts
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,11 @@ function getFileName(version: string): string {
107107
async function fetchVersions(): Promise<string[]> {
108108
let rest: restm.RestClient = new restm.RestClient("setup-arduino-cli");
109109
let tags: ITaskRef[] =
110-
(await rest.get<ITaskRef[]>(
111-
"https://api.github.com/repos/Arduino/arduino-cli/git/refs/tags"
112-
)).result || [];
110+
(
111+
await rest.get<ITaskRef[]>(
112+
"https://api.github.com/repos/Arduino/arduino-cli/git/refs/tags"
113+
)
114+
).result || [];
113115

114116
return tags
115117
.filter(tag => tag.ref.match(/\d+\.[\w\.]+/g))

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.