Skip to content

Commit a9fa83a

Browse files
committed
fix escapes
1 parent ae2db8f commit a9fa83a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ func main_load() {
5454
os.Exit(1)
5555
}
5656

57+
// Remove ""s from the strings
58+
*dfu_path = strings.Replace(*dfu_path, "\"", "", -1)
59+
*bin_file_name = strings.Replace(*bin_file_name, "\"", "", -1)
60+
*ble_compliance_string = strings.Replace(*ble_compliance_string, "\"", "", -1)
61+
*rtos_compliance_string = strings.Replace(*rtos_compliance_string, "\"", "", -1)
62+
5763
dfu := *dfu_path + "/dfu-util"
5864
dfu = filepath.ToSlash(dfu)
5965

0 commit comments

Comments
 (0)