Skip to content

Commit 8b32baf

Browse files
committed
Silenced linter warning
1 parent 17f261c commit 8b32baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upload/upload.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func PartiallyResolve(board, file, platformPath, commandline string, extra Extra
4949
commandline = strings.Replace(commandline, "{fqbn}", board, -1)
5050

5151
// search for runtime variables and replace with values from Locater
52-
var runtimeRe = regexp.MustCompile("\\{(.*?)\\}")
52+
var runtimeRe = regexp.MustCompile(`\{(.*?)\}`)
5353
runtimeVars := runtimeRe.FindAllString(commandline, -1)
5454

5555
for _, element := range runtimeVars {

0 commit comments

Comments
 (0)