mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-08 00:59:04 +00:00
Allow single line filters
This commit is contained in:
parent
31c576896e
commit
68792bf56a
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ async function run(): Promise<void> {
|
|||
}
|
||||
|
||||
function isPathInput(text: string): boolean {
|
||||
return !text.includes('\n')
|
||||
return !(text.includes('\n') || text.includes(':'))
|
||||
}
|
||||
|
||||
function getConfigFileContent(configPath: string): string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue