Skip to content

Commit 0245027

Browse files
committed
fix style
1 parent 5f21559 commit 0245027

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Diff for: internal/arduino/cores/tools.go

+12-12
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,19 @@ func (tr *ToolRelease) RuntimeProperties() *properties.Map {
127127
}
128128

129129
var (
130-
regexpLinuxArm = regexp.MustCompile("arm.*-linux-gnueabihf")
131-
regexpLinuxArm64 = regexp.MustCompile("(aarch64|arm64)-linux-gnu")
130+
regexpLinuxArm = regexp.MustCompile("arm.*-linux-gnueabihf")
131+
regexpLinuxArm64 = regexp.MustCompile("(aarch64|arm64)-linux-gnu")
132132
regexpLinuxRiscv64 = regexp.MustCompile("riscv64-linux-gnu")
133-
regexpLinux64 = regexp.MustCompile("x86_64-.*linux-gnu")
134-
regexpLinux32 = regexp.MustCompile("i[3456]86-.*linux-gnu")
135-
regexpWindows32 = regexp.MustCompile("i[3456]86-.*(mingw32|cygwin)")
136-
regexpWindows64 = regexp.MustCompile("(amd64|x86_64)-.*(mingw32|cygwin)")
137-
regexpMac64 = regexp.MustCompile("x86_64-apple-darwin.*")
138-
regexpMac32 = regexp.MustCompile("i[3456]86-apple-darwin.*")
139-
regexpMacArm64 = regexp.MustCompile("arm64-apple-darwin.*")
140-
regexpFreeBSDArm = regexp.MustCompile("arm.*-freebsd[0-9]*")
141-
regexpFreeBSD32 = regexp.MustCompile("i?[3456]86-freebsd[0-9]*")
142-
regexpFreeBSD64 = regexp.MustCompile("amd64-freebsd[0-9]*")
133+
regexpLinux64 = regexp.MustCompile("x86_64-.*linux-gnu")
134+
regexpLinux32 = regexp.MustCompile("i[3456]86-.*linux-gnu")
135+
regexpWindows32 = regexp.MustCompile("i[3456]86-.*(mingw32|cygwin)")
136+
regexpWindows64 = regexp.MustCompile("(amd64|x86_64)-.*(mingw32|cygwin)")
137+
regexpMac64 = regexp.MustCompile("x86_64-apple-darwin.*")
138+
regexpMac32 = regexp.MustCompile("i[3456]86-apple-darwin.*")
139+
regexpMacArm64 = regexp.MustCompile("arm64-apple-darwin.*")
140+
regexpFreeBSDArm = regexp.MustCompile("arm.*-freebsd[0-9]*")
141+
regexpFreeBSD32 = regexp.MustCompile("i?[3456]86-freebsd[0-9]*")
142+
regexpFreeBSD64 = regexp.MustCompile("amd64-freebsd[0-9]*")
143143
)
144144

145145
func (f *Flavor) isExactMatchWith(osName, osArch string) bool {

0 commit comments

Comments
 (0)