Command diff now properly supports recursive diff
This commit is contained in:
+6
-1
@@ -94,7 +94,12 @@ func runDiffCmd(ctx *cli.Context) {
|
||||
})
|
||||
}
|
||||
}
|
||||
// TODO recursive is not working yet
|
||||
if isURLRecursive(secondURL) {
|
||||
console.Fatals(ErrorMessage{
|
||||
Message: "Second URL cannot be recursive, diff command is unidirectional",
|
||||
Error: errInvalidArgument{},
|
||||
})
|
||||
}
|
||||
newFirstURL := stripRecursiveURL(firstURL)
|
||||
for diff := range doDiffCmd(newFirstURL, secondURL, isURLRecursive(firstURL)) {
|
||||
if diff.err != nil {
|
||||
|
||||
Reference in New Issue
Block a user