Skip to content

Commit

Permalink
feat: added a public initializer to EmptyMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrenskers committed Feb 27, 2021
1 parent 724e3b7 commit 30507bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/Saga/Item.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 30507bd

Please sign in to comment.