(extensionPath: string)
| 6 | import * as path from 'path'; |
| 7 | |
| 8 | export function findSerialPortModuleHelp(extensionPath: string) { |
| 9 | return 'Node/npm module "serialport" not found. You can install this in one of two ways\n' + |
| 10 | '1. Install "Serial Monitor" VSCode extension. https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-serial-monitor\n' + |
| 11 | '2. or, you can compile the serialport module locally on your computer. Follow these instructions on a shell prompt\n' + |
| 12 | ` cd ${extensionPath}/binary_modules\n` + |
| 13 | ` bash ./build.sh ${process.versions['electron']}\n` + |
| 14 | 'If you chose to compile locally, make sure NodeJS is installed on your system. Visit https://nodejs.org/en/download/'; |
| 15 | } |
| 16 | |
| 17 | export function findSerialPortModule(extensionPath: string, useModule) { |
| 18 | const paths = []; |
no outgoing calls
no test coverage detected