From 55b821886047f5d1c335599ec1cc6db50b841936 Mon Sep 17 00:00:00 2001 From: ston1th Date: Sun, 5 May 2019 19:22:28 +0200 Subject: [PATCH] cleanup --- pkg/scan/scanner.go | 1 - templates/dir.html | 2 +- templates/file.html | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/scan/scanner.go b/pkg/scan/scanner.go index f9f96f9..ddd070c 100644 --- a/pkg/scan/scanner.go +++ b/pkg/scan/scanner.go @@ -126,7 +126,6 @@ func (s *Scanner) Scan(file string) (filename, text string, err error) { log.Debugf("%s %v", txtCmd.Path, txtCmd.Args) txt, err := timeout(txtCmd, s.timeout) if err != nil { - log.Debugf("killed", err) return } if len(txt) <= 2 { diff --git a/templates/dir.html b/templates/dir.html index 26466ef..d553459 100644 --- a/templates/dir.html +++ b/templates/dir.html @@ -43,7 +43,7 @@ File
{{if $item.Scan}} - Scanning.. + Scanning {{else}} {{if not $item.Flag}} Index diff --git a/templates/file.html b/templates/file.html index 03f2c6d..1a0bf6e 100644 --- a/templates/file.html +++ b/templates/file.html @@ -10,7 +10,7 @@
{{if .Data.Scan}} - Scanning.. + Scanning {{else}} {{if not .Data.Flag}} Index