We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eb6d7a commit 38440c5Copy full SHA for 38440c5
2 files changed
Sources/Compiler/Config.swift
@@ -25,10 +25,9 @@ public struct Config: Codable {
25
}
26
27
public init(at path: String) throws {
28
- print("Input Path: \(path)")
29
- var url = URL(fileURLWithPath: path)
30
- print("URL: \(url)")
31
- print("URL not file: \(URL(string: path)!)")
+ guard var url = URL(string: path) else {
+ throw NotFoundError(searchPath: path)
+ }
32
33
if url.lastPathComponent != "puresql.yaml" {
34
url.appendPathComponent("puresql.yaml")
Sources/PureSQLCLI/GenerateCommand.swift
@@ -35,8 +35,6 @@ struct GenerateCommand: AsyncParsableCommand {
35
var dump = false
36
37
mutating func run() async throws {
38
- print("Path: \(path)")
39
-
40
let config = try Config(at: path)
41
var project = config.project(at: path)
42
0 commit comments