From d776e24d2f2b4d11759c8b132d70cb39d05ec439 Mon Sep 17 00:00:00 2001 From: yczpf2019 Date: Sat, 24 Jan 2026 18:41:25 +0800 Subject: [PATCH] fix: syntax error in shell command by closing quotes for python and script paths --- src/common/shell-micropython.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/shell-micropython.js b/src/common/shell-micropython.js index 81fb6080..bf1c8ea7 100755 --- a/src/common/shell-micropython.js +++ b/src/common/shell-micropython.js @@ -12,7 +12,7 @@ export default class ShellMicroPython extends Shell { async burn(config) { const info = { indexPath: path.resolve(CLIENT_PATH, config.boardDirPath), - esptool: `"${PYTHON.path.cli}" "${MICROPYTHON.path.esptool}`, + esptool: `"${PYTHON.path.cli}" "${MICROPYTHON.path.esptool}"`, com: config.port }; const command = MString.tpl(config.command, info); @@ -22,7 +22,7 @@ export default class ShellMicroPython extends Shell { async upload(config) { const info = { indexPath: path.resolve(CLIENT_PATH, config.boardDirPath), - ampy: `"${PYTHON.path.cli}" "${MICROPYTHON.path.ampy}`, + ampy: `"${PYTHON.path.cli}" "${MICROPYTHON.path.ampy}"`, com: config.port }; const command = MString.tpl(config.command, info);