Skip to content

Commit 951b55f

Browse files
lint: fix issues
1 parent 0c7d774 commit 951b55f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/slogx/init.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const permissionsForLoggsFile = 0o644
1414
func Init(config config.LoggerConfig) (err error) {
1515
writer := io.Writer(os.Stdout)
1616
if config.File != "" {
17-
1817
writer, err = os.OpenFile(config.File, os.O_APPEND|os.O_CREATE|os.O_WRONLY, permissionsForLoggsFile)
1918
if err != nil {
2019
return fmt.Errorf("open file %s: %w", config.File, err)

0 commit comments

Comments
 (0)