Skip to content

Commit 321a33d

Browse files
committed
Fixed incorrect previous file path and missing file hash.
1 parent 17355f3 commit 321a33d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cmd/finley/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func main() {
127127
}
128128
err = ioutil.WriteFile(filepath.Join(finalOutputDirPath, "ignored.log"),
129129
[]byte(fmt.Sprintf("file has already been seen at '%s', hash of file is %s\n",
130-
info.FilePath, info.Hash)),
130+
info.PreviousFilePath, info.Hash)),
131131
0600)
132132
if err != nil {
133133
return fmt.Errorf("failed to create log for ignored .NET file '%s' - %s",

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ go 1.13
44

55
require (
66
github.com/schollz/progressbar/v2 v2.15.0
7-
github.com/stephen-fox/filesearch v0.0.2
7+
github.com/stephen-fox/filesearch v0.0.3
88
github.com/stephen-fox/grp v0.0.1
99
)

go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ github.com/stephen-fox/filesearch v0.0.1 h1:cOarNqLd/VbXdsURhrHLH0wreIvsfDBgCxNg
1111
github.com/stephen-fox/filesearch v0.0.1/go.mod h1:urSvtbMHFs4+qN82e0D1MiArxm4QHMD9EWEEO5XHm24=
1212
github.com/stephen-fox/filesearch v0.0.2 h1:b8pD5lfLuo08Pf80KscIF+NVy7/c08Moln+SS+RThzk=
1313
github.com/stephen-fox/filesearch v0.0.2/go.mod h1:urSvtbMHFs4+qN82e0D1MiArxm4QHMD9EWEEO5XHm24=
14+
github.com/stephen-fox/filesearch v0.0.3/go.mod h1:urSvtbMHFs4+qN82e0D1MiArxm4QHMD9EWEEO5XHm24=
1415
github.com/stephen-fox/grp v0.0.0-20200719000303-06094b4b8ab2 h1:GQwhs4a1gLuFM3Mcqlm2EjhD2LfSTxKwC9Er5HpsagU=
1516
github.com/stephen-fox/grp v0.0.0-20200719000303-06094b4b8ab2/go.mod h1:Y6l1avUHFSqhwn2/n+88OE1ltYGNU5sFc1ZH6nf6UeQ=
1617
github.com/stephen-fox/grp v0.0.1 h1:Wv7DYeM7fuBd843f0OoWmTofK2E1PgBQ+eINfBtZPJ0=

0 commit comments

Comments
 (0)