Rename ifFatal and ifError as Fatal, Error

This commit is contained in:
Harshavardhana
2015-08-03 22:19:45 -07:00
parent faf415d08f
commit e6fd52f026
19 changed files with 104 additions and 69 deletions
+2 -2
View File
@@ -63,9 +63,9 @@ func runDiffCmd(ctx *cli.Context) {
var err *probe.Error
firstURL, err = getExpandedURL(firstURL, config.Aliases)
ifFatal(err)
Fatal(err)
secondURL, err = getExpandedURL(secondURL, config.Aliases)
ifFatal(err)
Fatal(err)
if isURLRecursive(secondURL) {
console.Fatalf("Second URL cannot be recursive. %s\n", errInvalidArgument{})
}