mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-03 02:53:15 +08:00
Spelling (#431)
* spelling: absolute * spelling: content * spelling: received * spelling: sanitizes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user