Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino/arduino-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: nicklasbns/arduino-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 9, 2024

  1. Fix "User input not supported" error

    vscode does not support interactive mode, so the arduino extension does not work over wifi, and i dont need the password field anyway, so bye bye
    nicklasbns committed Aug 9, 2024
    Copy the full SHA
    f00f2c8 View commit details
Showing with 2 additions and 1 deletion.
  1. +2 −1 internal/cli/feedback/terminal.go
3 changes: 2 additions & 1 deletion internal/cli/feedback/terminal.go
Original file line number Diff line number Diff line change
@@ -94,7 +94,8 @@ func InputUserField(prompt string, secret bool) (string, error) {
return "", errors.New(i18n.Tr("user input not supported for the '%s' output format", format))
}
if !IsInteractive() {
return "", errors.New(i18n.Tr("user input not supported in non interactive mode"))
// return "", errors.New(i18n.Tr("user input not supported in non interactive mode"))
return "", nil
}

fmt.Fprintf(stdOut, "%s: ", prompt)