Skip to content

Commit b10d42b

Browse files
author
Akos Kitta
committed
fix: corrected typo
Signed-off-by: Akos Kitta <[email protected]>
1 parent 9a3b107 commit b10d42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/browser/theia/workspace/workspace-commands.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class WorkspaceCommandContribution extends TheiaWorkspaceCommandContribut
130130
if (errorMessage) {
131131
return this.maybeRemapAlreadyExistsMessage(errorMessage, userInput);
132132
}
133-
// It's a legacy behavior from IDE 1.x. Validate the file it were an `.ino` file.
133+
// It's a legacy behavior from IDE 1.x. Validate the file as if it were an `.ino` file.
134134
// If user did not write the `.ino` extension or ended the user input with dot, run the default Theia validation with the inferred name.
135135
if (extension === '.ino' && !userInput.endsWith('.ino')) {
136136
userInput = `${name}${extension}`;

0 commit comments

Comments
 (0)