From 30507bde0916611f21c69c68058d63d54860af89 Mon Sep 17 00:00:00 2001 From: Kevin Renskers Date: Sat, 27 Feb 2021 01:17:05 +0100 Subject: [PATCH] feat: added a public initializer to EmptyMetadata --- Sources/Saga/Item.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/Saga/Item.swift b/Sources/Saga/Item.swift index cd6f957..963bbae 100644 --- a/Sources/Saga/Item.swift +++ b/Sources/Saga/Item.swift @@ -3,7 +3,9 @@ import PathKit public protocol Metadata: Codable {} -public struct EmptyMetadata: Metadata {} +public struct EmptyMetadata: Metadata { + public init() {} +} public protocol AnyItem: class { var relativeSource: Path { get }