We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2965b28 commit b128bcaCopy full SHA for b128bca
upload/upload.go
@@ -54,6 +54,7 @@ type Extra struct {
54
func PartiallyResolve(board, file, commandline string, extra Extra, t Locater) (string, error) {
55
commandline = strings.Replace(commandline, "{build.path}", filepath.ToSlash(filepath.Dir(file)), -1)
56
commandline = strings.Replace(commandline, "{build.project_name}", strings.TrimSuffix(filepath.Base(file), filepath.Ext(filepath.Base(file))), -1)
57
+ commandline = strings.Replace(commandline, "{network.password}", extra.Auth.Password, -1)
58
59
if extra.Verbose == true {
60
commandline = strings.Replace(commandline, "{upload.verbose}", extra.ParamsVerbose, -1)
0 commit comments