8000 fix: typos by NathanBaulch · Pull Request #728 · air-verse/air · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: typos #728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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