Skip to content

Commit d43fe27

Browse files
committed
fixed typo
1 parent 1f137ae commit d43fe27

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: internal/integrationtest/arduino-cli.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ func (cli *ArduinoCLI) Run(args ...string) ([]byte, []byte, error) {
122122
return stdoutBuf.Bytes(), stderrBuf.Bytes(), cliErr
123123
}
124124

125-
// StartDeamon starts the Arduino CLI daemon. It returns the address of the daemon.
126-
func (cli *ArduinoCLI) StartDeamon(verbose bool) string {
125+
// StartDaemon starts the Arduino CLI daemon. It returns the address of the daemon.
126+
func (cli *ArduinoCLI) StartDaemon(verbose bool) string {
127127
args := []string{"daemon", "--format", "json"}
128128
if cli.cliConfigPath != nil {
129129
args = append([]string{"--config-file", cli.cliConfigPath.String()}, args...)

Diff for: internal/integrationtest/daemon/arduino-cli_daemon_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestArduinoCliDaemon(t *testing.T) {
4444
_, _, err := cli.Run("core", "update-index")
4545
require.NoError(t, err)
4646

47-
_ = cli.StartDeamon(false)
47+
_ = cli.StartDaemon(false)
4848

4949
inst := cli.Create()
5050
require.NoError(t, inst.Init("", "", func(ir *commands.InitResponse) {

0 commit comments

Comments
 (0)