Remove deprecations

This commit is contained in:
Ell Neal 2019-01-27 12:24:16 +00:00
parent 4d458ad6e4
commit 25a4d48b83
No known key found for this signature in database
GPG Key ID: 0AAD6C98BA484C61
2 changed files with 0 additions and 2 deletions

View File

@ -132,7 +132,6 @@ extension Project: Equatable {
extension Project {
@available(*, deprecated, message: "Use `Project.Spec` and `init(spec:basePath:)`.")
public init(basePath: Path, jsonDictionary: JSONDictionary) throws {
let spec = Project.Spec(relativePath: Path(), jsonDictionary: jsonDictionary)
try self.init(spec: spec, basePath: basePath)

View File

@ -11,7 +11,6 @@ extension Project {
try self.init(spec: template, basePath: basePath)
}
@available(*, deprecated, message: "Use `Project.Spec` for loading files from disk.")
public static func loadDictionary(path: Path) throws -> JSONDictionary {
return try Project.Spec(filename: path.lastComponent, basePath: path.parent()).jsonDictionary
}