Skip to content

Commit

Permalink
Adding in forgotten validation
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Dec 24, 2023
1 parent 002a474 commit 5a27133
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recorder/recorder_start.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func (v *Views) start(transporter commonTransporter.Transporter) error {
if os.IsNotExist(err1) {
return fmt.Errorf("unable to get path: %w", err1)
}
valid = true
}
if !valid {
return fmt.Errorf("invalid path")
Expand Down

0 comments on commit 5a27133

Please sign in to comment.