We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17f261c commit 8b32bafCopy full SHA for 8b32baf
upload/upload.go
@@ -49,7 +49,7 @@ func PartiallyResolve(board, file, platformPath, commandline string, extra Extra
49
commandline = strings.Replace(commandline, "{fqbn}", board, -1)
50
51
// search for runtime variables and replace with values from Locater
52
- var runtimeRe = regexp.MustCompile("\\{(.*?)\\}")
+ var runtimeRe = regexp.MustCompile(`\{(.*?)\}`)
53
runtimeVars := runtimeRe.FindAllString(commandline, -1)
54
55
for _, element := range runtimeVars {
0 commit comments