diff --git a/bundle/deploy/files/upload.go b/bundle/deploy/files/upload.go index 0f531299..e9b0099d 100644 --- a/bundle/deploy/files/upload.go +++ b/bundle/deploy/files/upload.go @@ -29,7 +29,7 @@ func (m *upload) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagnostics { b.Files, err = sync.RunOnce(ctx) if err != nil { if errors.Is(err, fs.ErrPermission) { - return permissions.ReportPossiblePermissionDenied(ctx, b, b.Config.Workspace.StatePath) + return permissions.ReportPossiblePermissionDenied(ctx, b, b.Config.Workspace.FilePath) } return diag.FromErr(err) }