Skip to content

Commit

Permalink
improve error message for codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
designatednerd committed Feb 6, 2020
1 parent 5386361 commit 9b571ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ApolloCodegenLib/ApolloCodegen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ApolloCodegen {
public var errorDescription: String? {
switch self {
case .folderDoesNotExist(let url):
return "Can't run codegen from \(url) - there is no folder there!"
return "Can't run codegen trying to run the command from \(url) because there is no folder there! This should be the folder which, at some depth, contains all your `.graphql` files."
}
}
}
Expand Down

0 comments on commit 9b571ff

Please sign in to comment.