From 17f65dfe4fa0cf3d67b2fc655201ebe7a7aa8a9f Mon Sep 17 00:00:00 2001 From: Kevin Renskers Date: Sun, 11 Jul 2021 22:26:02 +0200 Subject: [PATCH] fix: the AnyItem protocol is now correctly using AnyObject instead of class --- Example/Package.resolved | 4 ++-- Sources/Saga/Item.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Example/Package.resolved b/Example/Package.resolved index ce55a75..6fca5be 100644 --- a/Example/Package.resolved +++ b/Example/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/brokenhandsio/cmark-gfm.git", "state": { "branch": null, - "revision": "c25ea288d0eb50c5c1150e7fdda675d5e9b1b6bb", - "version": "2.0.0" + "revision": "e97450a77a40f12b4f88f95891621c3b5d8669de", + "version": "2.1.0" } }, { diff --git a/Sources/Saga/Item.swift b/Sources/Saga/Item.swift index 963bbae..26cbd2e 100644 --- a/Sources/Saga/Item.swift +++ b/Sources/Saga/Item.swift @@ -7,7 +7,7 @@ public struct EmptyMetadata: Metadata { public init() {} } -public protocol AnyItem: class { +public protocol AnyItem: AnyObject { var relativeSource: Path { get } var filenameWithoutExtension: String { get } var relativeDestination: Path { get set }