fix: syntax error in shell command by closing quotes for python and script paths
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user