File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ public struct Config: Codable {
1717 public let tableNamePattern : String ?
1818
1919 struct NotFoundError : Error , CustomStringConvertible {
20- let searchURL : URL
20+ let searchPath : String
2121
2222 var description : String {
23- " Config does not exist in \( searchURL . absoluteString ) "
23+ " Config does not exist in ' \( searchPath ) ' "
2424 }
2525 }
2626
@@ -32,7 +32,7 @@ public struct Config: Codable {
3232 }
3333
3434 guard FileManager . default. fileExists ( atPath: url. path) else {
35- throw NotFoundError ( searchURL : url)
35+ throw NotFoundError ( searchPath : url. path )
3636 }
3737
3838 let data = try Data ( contentsOf: url)
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ struct GenerateCommand: AsyncParsableCommand {
3535 var dump = false
3636
3737 mutating func run( ) async throws {
38+ print ( " Path: \( path) " )
39+
3840 let config = try Config ( at: path)
3941 var project = config. project ( at: path)
4042
You can’t perform that action at this time.
0 commit comments