* spelling: absolute

* spelling: content

* spelling: received

* spelling: sanitizes
This commit is contained in:
Josh Soref
2020-04-27 09:13:56 -04:00
committed by GitHub
parent df7e2c13c8
commit 7257597d73
4 changed files with 5 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ export class Pattern {
// false for `/foo` but returns true for `/foo/`. Append a trailing slash to handle that quirk.
if (!itemPath.endsWith(path.sep)) {
// Note, this is safe because the constructor ensures the pattern has an absolute root.
// For example, formats like C: and C:foo on Windows are resolved to an aboslute root.
// For example, formats like C: and C:foo on Windows are resolved to an absolute root.
itemPath = `${itemPath}${path.sep}`
}
} else {