From e6ef815314000e2655b847bc80b4c88948fca48f Mon Sep 17 00:00:00 2001 From: Morgan Allen Date: Sat, 28 Jul 2018 14:30:48 -0700 Subject: [PATCH] typo --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index ee4c47e..d14df42 100644 --- a/test/test.js +++ b/test/test.js @@ -4,7 +4,7 @@ var SerialPort = require("serialport"); var path = require("path"); var test = require("tape"); -const exec = path.require(process.env.IDF_PATH, "components", "esptool_py", "esptool", "esptool.py"); +const exec = path.join(process.env.IDF_PATH, "components", "esptool_py", "esptool", "esptool.py"); const portString = "/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_SERIAL_ID-if00-port0"; const buildPath = path.join(__dirname, "lora32", "build");