Skip to content

Commit f365412

Browse files
committed
deps update
1 parent ae08347 commit f365412

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

internal/file/file.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ func CreateOutputFile(target string, subcommand string, format string) string {
8282
}
8383

8484
_, err := os.Stat(filename)
85-
8685
if os.IsNotExist(err) {
8786
if _, err := os.Stat("output-cariddi/"); os.IsNotExist(err) {
8887
CreateOutputFolder()
@@ -121,7 +120,6 @@ func CreateOutputFile(target string, subcommand string, format string) string {
121120
// Whenever an instruction fails, it exits with an error message.
122121
func CreateIndexOutputFile(filename string) {
123122
_, err := os.Stat(filename)
124-
125123
if os.IsNotExist(err) {
126124
if _, err := os.Stat("output-cariddi/"); os.IsNotExist(err) {
127125
CreateOutputFolder()

pkg/crawler/colly.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,6 @@ func visitLink(event *Event, c *colly.Collector, absoluteURL string) {
460460
(event.Intensive && intensiveOk(event.TargetTemp, absoluteURL, event.Debug)) {
461461
if !event.Ignore || (event.Ignore && !IgnoreMatch(absoluteURL, &event.IgnoreSlice)) {
462462
err := c.Visit(absoluteURL)
463-
464463
if err != nil && event.Debug {
465464
log.Println(err)
466465
}

0 commit comments

Comments
 (0)