Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6320f6e

Browse filesBrowse files
committed
Always use arduino-cli in user-agent string
1 parent 9bab3c5 commit 6320f6e
Copy full SHA for 6320f6e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed

‎version/version.go

Copy file name to clipboardExpand all lines: version/version.go
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
package version
1717

1818
import (
19-
"os"
20-
"path/filepath"
21-
2219
"github.com/arduino/arduino-cli/internal/i18n"
2320
)
2421

@@ -70,5 +67,5 @@ func init() {
7067
versionString = defaultVersionString
7168
}
7269

73-
VersionInfo = NewInfo(filepath.Base(os.Args[0]))
70+
VersionInfo = NewInfo("arduino-cli")
7471
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.