Skip to content

Commit

Permalink
Fix from/form typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tucats committed Dec 13, 2023
1 parent 0a4e84a commit 5d82516
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion caches/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func newCache(id int) Cache {
// expire is the go routine launched when a new cache is initialized. It
// sleeps for the "scan" interval, and then locks the cache. It then checks each
// item in the cache to determine if it has expired. If it has expired, it is
// deleted form the cache. Once the scan is complete, the cache is unlocked and
// deleted from the cache. Once the scan is complete, the cache is unlocked and
// the flusher goes back to sleep for another scan interval.
func expire(id int) {
delay, _ := time.ParseDuration(scanTime)
Expand Down
2 changes: 1 addition & 1 deletion commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func RunAction(c *cli.Context) error {
ui.Log(ui.CLILogger, "No source given, reading from console")

// If the input is not from a pipe, then we are interactive. If it is from a
// pipe then the pipe is drained for form the input source text.
// pipe then the pipe is drained from the input source text.
if !ui.IsConsolePipe() {
ui.Log(ui.CLILogger, "Console is not a pipe")
var banner string
Expand Down

0 comments on commit 5d82516

Please sign in to comment.