Skip to content

Commit

Permalink
Fixed issue with file.extension containing leading .
Browse files Browse the repository at this point in the history
  • Loading branch information
BenB196 committed Feb 6, 2021
1 parent 408b832 commit 61f84f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffsEvent/ffsFetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func queryFetcher(query config.FFSQuery, inProgressQueries *[]eventOutput.InProg
Path: ffsEvent.FilePath,
Name: ffsEvent.FileName,
Type: fileType,
Extension: filepath.Ext(ffsEvent.FileName),
Extension: strings.Replace(filepath.Ext(ffsEvent.FileName),".","",-1),
Size: ffsEvent.FileSize,
Owner: ffsEvent.FileOwner,
Hash: hash,
Expand Down

0 comments on commit 61f84f5

Please sign in to comment.