mirror of
https://github.com/dorny/paths-filter.git
synced 2026-08-24 07:34:43 +08:00
Allow single line filters
This commit is contained in:
Vendored
+1
-1
@@ -4673,7 +4673,7 @@ async function run() {
|
||||
}
|
||||
}
|
||||
function isPathInput(text) {
|
||||
return !text.includes('\n');
|
||||
return !(text.includes('\n') || text.includes(':'));
|
||||
}
|
||||
function getConfigFileContent(configPath) {
|
||||
if (!fs.existsSync(configPath)) {
|
||||
|
||||
Reference in New Issue
Block a user