mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-24 03:18:02 +02:00
Allow single line filters
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -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