Skip to content

Commit

Permalink
fix: typos (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBaulch authored Jan 17, 2025
1 parent a4539f6 commit 4be5540
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export PATH=$PATH:$(go env GOPATH)/bin #Confirm this line in your .profile and m

### Error under wsl when ' is included in the bin

Should use `\` to escape the `' in the bin. related issue: [#305](https://github.com/air-verse/air/issues/305)
Should use `\` to escape the `'` in the bin. related issue: [#305](https://github.com/air-verse/air/issues/305)

### Question: how to do hot compile only and do not run anything?

Expand Down
2 changes: 1 addition & 1 deletion runner/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ func (e *Engine) start() {
}
}

// cannot set buldDelay to 0, because when the write multiple events received in short time
// cannot set buildDelay to 0, because when the write multiple events received in short time
// it will start Multiple buildRuns: https://github.com/air-verse/air/issues/473
time.Sleep(e.config.buildDelay())
e.flushEvents()
Expand Down
6 changes: 3 additions & 3 deletions runner/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ func TestWriteDefaultConfig(t *testing.T) {
if err != nil {
t.Fatal(err)
}
// check the file is exist
// check the file exists
if _, err := os.Stat(configName); err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -861,7 +861,7 @@ func Test(t *testing.T) {
t.Fatal(err)
}
// run sed
// check the file is exist
// check the file exists
if _, err := os.Stat(dftTOML); err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -998,7 +998,7 @@ include_file = ["main.sh"]
assert.Equal(t, []byte("modified"), bytes)
}

func TestShouldIncludeIncludedFileWihtoutIncludedExt(t *testing.T) {
func TestShouldIncludeIncludedFileWithoutIncludedExt(t *testing.T) {
port, f := GetPort()
f()
t.Logf("port: %d", port)
Expand Down

0 comments on commit 4be5540

Please sign in to comment.