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 9b1a35d

Browse files
author
Luca Bianconi
committed
fix: message escaping
1 parent 7798f25 commit 9b1a35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎commands/sketch/new.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func validateSketchName(name string) error {
8080
sketchNameMaxLength))}
8181
}
8282
if !sketchNameValidationRegex.MatchString(name) {
83-
return &arduino.CantCreateSketchError{Cause: errors.New(tr(`invalid sketch name \"%[1]s\": the first character must be alphanumeric, the following ones can also contain "_", "-", and ".".`,
83+
return &arduino.CantCreateSketchError{Cause: errors.New(tr(`invalid sketch name "%[1]s": the first character must be alphanumeric, the following ones can also contain "_", "-", and ".".`,
8484
name))}
8585
}
8686
return nil

0 commit comments

Comments
(0)

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