Skip to content

Commit

Permalink
ignore lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed May 4, 2023
1 parent f536183 commit 1bfc672
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/maze/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func action(ctx *cli.Context) error {
}

func createMaze(config *Config) *maze.Maze {
//lint:ignore SA1019 Random seed is necessary for testing.
rand.Seed(config.Seed)
maze := maze.NewMaze(config.Height, config.Width)
maze.Start = config.Start
Expand Down

0 comments on commit 1bfc672

Please sign in to comment.