Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1944f02

Browse files
committedDec 17, 2024··
compile: fix export binaries when trying to copy a folder
1 parent 8ebca9f commit 1944f02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎commands/service_compile.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu
404404
return &cmderrors.PermissionDeniedError{Message: i18n.Tr("Error reading build directory"), Cause: err}
405405
}
406406
buildFiles.FilterPrefix(baseName)
407+
buildFiles.FilterOutDirs()
407408
for _, buildFile := range buildFiles {
408409
exportedFile := exportPath.Join(buildFile.Base())
409410
logrus.WithField("src", buildFile).WithField("dest", exportedFile).Trace("Copying artifact.")

0 commit comments

Comments
 (0)
Please sign in to comment.