Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 1c00ea3

Browse files
fix lint errors
1 parent f98e18e commit 1c00ea3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/arduino/arduino.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ export class ArduinoApp {
675675
// What if the user specifies an output directory "../builds/my project"
676676

677677
// the first choice of the path should be from the users explicit settings.
678-
if (dc.output) {
678+
if (dc.output) {
679679
buildDir = path.resolve(ArduinoWorkspace.rootPath, dc.output);
680680
} else {
681681
buildDir = path.resolve(ArduinoWorkspace.rootPath, buildDir);

src/common/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const messages = {
3535
FAILED_SEND_SERIALPORT: "Failed to send message to serial port.",
3636
SERIAL_PORT_NOT_STARTED: "Serial Monitor has not been started.",
3737
SEND_BEFORE_OPEN_SERIALPORT: "Please open a serial port first.",
38-
NO_PROGRAMMMER_SELECTED: "Please select the programmer first."
38+
NO_PROGRAMMMER_SELECTED: "Please select the programmer first.",
3939
};
4040

4141
export const statusBarPriority = {

src/debug/configurationProvider.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ export class ArduinoDebugConfigurationProvider implements vscode.DebugConfigurat
120120
if (!config.program || config.program === "${file}") {
121121
const outputFolder = path.join(dc.output || `.build`);
122122
const outputPath = path.join(ArduinoWorkspace.rootPath, outputFolder);
123-
124-
// if the directory was already there, clear the folder so that it's not corrupted from previous builds.
123+
124+
// if the directory was already there, clear the folder so that it's not corrupted from previous builds.
125125
if (util.directoryExistsSync(outputPath)) {
126126
util.rmdirRecursivelySync(outputPath);
127127
}

0 commit comments

Comments
 (0)