Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 54ca0db

Browse files
authored
Merge pull request #30 from per1234/fix-sketch-binary-check
Update check on debug config generation fail
2 parents 2c458f1 + cc16f9c commit 54ca0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/extension.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ async function startDebug(_: ExtensionContext, config: DebugConfig): Promise<boo
123123
}
124124
if (!rawStdout) {
125125
if (rawStdErr) {
126-
if (rawStdErr.indexOf('compiled sketch not found in') !== -1) {
126+
if (rawStdErr.toLowerCase().indexOf('compiled sketch not found in') !== -1) {
127127
vscode.window.showErrorMessage(`Sketch '${path.basename(config.sketchPath)}' was not compiled. Please compile the sketch and start debugging again.`);
128128
} else {
129129
vscode.window.showErrorMessage(rawStdErr);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /