mirror of
https://github.com/Maronato/go-finger.git
synced 2025-03-15 00:34:47 +00:00
fix lint
This commit is contained in:
parent
4e695e882d
commit
7623b16f5a
1 changed files with 0 additions and 1 deletions
|
@ -42,7 +42,6 @@ func NewFingerReader() *FingerReader {
|
||||||
|
|
||||||
func (f *FingerReader) ReadFiles(cfg *config.Config) error {
|
func (f *FingerReader) ReadFiles(cfg *config.Config) error {
|
||||||
// Read URNs file
|
// Read URNs file
|
||||||
|
|
||||||
file, err := os.ReadFile(cfg.URNPath)
|
file, err := os.ReadFile(cfg.URNPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// If the file does not exist and the path is the default, set the URNs to an empty map
|
// If the file does not exist and the path is the default, set the URNs to an empty map
|
||||||
|
|
Loading…
Add table
Reference in a new issue