We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2deca4 commit 9be9b25Copy full SHA for 9be9b25
src/installer.ts
@@ -107,9 +107,11 @@ function getFileName(version: string): string {
107
async function fetchVersions(): Promise<string[]> {
108
let rest: restm.RestClient = new restm.RestClient("setup-arduino-cli");
109
let tags: ITaskRef[] =
110
- (await rest.get<ITaskRef[]>(
111
- "https://api.github.com/repos/Arduino/arduino-cli/git/refs/tags"
112
- )).result || [];
+ (
+ await rest.get<ITaskRef[]>(
+ "https://api.github.com/repos/Arduino/arduino-cli/git/refs/tags"
113
+ )
114
+ ).result || [];
115
116
return tags
117
.filter(tag => tag.ref.match(/\d+\.[\w\.]+/g))
0 commit comments