Skip to content

Commit 5d31721

Browse files
committed
Apply formatter
1 parent c04638f commit 5d31721

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/installer/stages/platformio-core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export default class PlatformIOCoreStage extends BaseStage {
160160
return true;
161161
}
162162

163-
async whereIsPython({prompt = false} = {}) {
163+
async whereIsPython({ prompt = false } = {}) {
164164
let status = this.params.pythonPrompt.STATUS_TRY_AGAIN;
165165
this.configureBuiltInPython();
166166

src/proc.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ export function patchOSEnviron({ caller, extraPath, extraVars }) {
8787
export function extendOSEnvironPath(name, items, prepend = true) {
8888
items.reverse().forEach((item) => {
8989
if (!process.env[name].includes(item)) {
90-
process.env[name] = (prepend
91-
? [item, process.env[name]]
92-
: [process.env[name], item]
90+
process.env[name] = (
91+
prepend ? [item, process.env[name]] : [process.env[name], item]
9392
).join(path.delimiter);
9493
}
9594
});

0 commit comments

Comments
 (0)