Skip to content

Commit cb648fa

Browse files
committed
fix error logging
1 parent ab1d1ec commit cb648fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/restoreXcodeDerivedDataFiles.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var restoreXcodeDerivedDataFilesCmd = &cobra.Command{
6666

6767
tracker.LogRestoreFinished(time.Since(startT), err)
6868
if cmdError != nil {
69-
return fmt.Errorf("restore Xcode DerivedData from Bitrise Build Cache: %w", err)
69+
return fmt.Errorf("restore Xcode DerivedData from Bitrise Build Cache: %w", cmdError)
7070
}
7171

7272
logger.TInfof("✅ DerivedData restored from Bitrise Build Cache ")

0 commit comments

Comments
 (0)