File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export default class ProjectTaskManager {
109109 }
110110
111111 toVSCodeTask ( projectTask ) {
112- const envClone = Object . create ( process . env ) ;
112+ const envClone = Object . assign ( { } , process . env ) ;
113113 if ( process . env . PLATFORMIO_PATH ) {
114114 envClone . PATH = process . env . PLATFORMIO_PATH ;
115115 envClone . Path = process . env . PLATFORMIO_PATH ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default class PIOTerminal {
1414 }
1515
1616 new ( ) {
17- const envClone = Object . create ( process . env ) ;
17+ const envClone = Object . assign ( { } , process . env ) ;
1818 if ( process . env . PLATFORMIO_PATH ) {
1919 envClone . PATH = process . env . PLATFORMIO_PATH ;
2020 envClone . Path = process . env . PLATFORMIO_PATH ;
You can’t perform that action at this time.
0 commit comments