From d5be28bd0d07a422c84e5c936942bc55ded7eea1 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 12 Nov 2020 10:50:52 -0800 Subject: [PATCH] make 'prompt before flashing' private --- bin/kaleidoscope-builder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 4cdb1917..1fc9bd5b 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -207,7 +207,7 @@ _ensure_sketch_found() { } -prompt_before_flashing() { +_prompt_before_flashing() { flashing_instructions=$(_arduino_prop 'build.flashing_instructions') if [ "x${flashing_instructions}x" = "xx" ]; then @@ -234,7 +234,7 @@ flash() { # If we -can-, then we should skip over the "reset to bootloader" thing port="${DEVICE_PORT_BOOTLOADER:=$(_find_bootloader_port)}" if [ -z "${port}" ]; then - prompt_before_flashing + _prompt_before_flashing # This is defined in the (optional) user config. # shellcheck disable=SC2154