Skip to content

Commit b128bca

Browse files
committed
Replace info in commandline about password
Signed-off-by: Matteo Suppo <[email protected]>
1 parent 2965b28 commit b128bca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

upload/upload.go

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ type Extra struct {
5454
func PartiallyResolve(board, file, commandline string, extra Extra, t Locater) (string, error) {
5555
commandline = strings.Replace(commandline, "{build.path}", filepath.ToSlash(filepath.Dir(file)), -1)
5656
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)
5758

5859
if extra.Verbose == true {
5960
commandline = strings.Replace(commandline, "{upload.verbose}", extra.ParamsVerbose, -1)

0 commit comments

Comments
 (0)