Skip to content

Commit 897bc96

Browse files
committed
Fixed typo
1 parent 0e6e1e1 commit 897bc96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paths.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ func (p *Path) ReadFileAsLines() ([]string, error) {
431431
}
432432

433433
// Truncate create an empty file named by path or if the file already
434-
// exist it trucates it (delete all contents)
434+
// exist it truncates it (delete all contents)
435435
func (p *Path) Truncate() error {
436436
return p.WriteFile([]byte{})
437437
}

0 commit comments

Comments
 (0)