Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
colindickson committed Nov 22, 2022
1 parent 1ddc5d2 commit 4a8ddfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundler/state_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func loadStateStore(outputPath string) (*StateStore, error) {
return nil, fmt.Errorf("read file: %w", err)
}
if err != nil && os.IsNotExist(err) {
s = newSate()
s = newState()
}

if err := yaml.Unmarshal(content, s); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion bundler/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type State struct {
RestartedAt time.Time `yaml:"restarted_at,omitempty" json:"restarted_at,omitempty"`
}

func newSate() *State {
func newState() *State {
return &State{
Cursor: "",
Block: BlockState{"", 0},
Expand Down

0 comments on commit 4a8ddfe

Please sign in to comment.