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 aea3cc5

Browse files
committed
Fixed error message
1 parent 258eacb commit aea3cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎arduino/resources/helpers.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (r *DownloadResource) ArchivePath(downloadDir *paths.Path) (*paths.Path, er
4040
archiveFileName := archiveFile.Base()
4141
archivePath := staging.Join(archiveFileName).Clean()
4242
if archivePath.IsDir() {
43-
return nil, errors.Errorf("invalid filename or exinsting directory: %s", archivePath)
43+
return nil, errors.Errorf("archive filename points to an existing directory: %s", archivePath)
4444
}
4545
return archivePath, nil
4646
}

0 commit comments

Comments
(0)

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