We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent b944f65 commit 4cc3e45Copy full SHA for 4cc3e45
src/api/src/library/Platformio/index.ts
@@ -21,6 +21,9 @@ interface PlatformioCoreState {
21
}
22
23
const prependPATH = (pth: string, item: string): string => {
24
+ if (pth.indexOf(item) > -1) {
25
+ return pth;
26
+ }
27
if (pth.length > 0) {
28
return `${item}${path.delimiter}${pth}`;
29
src/main.dev.ts
@@ -189,6 +189,9 @@ const createWindow = async () => {
189
*/
190
let PATH = process.env.PATH ?? '';
191
192
193
194
195
196
197
0 commit comments