Allow single line filters
This commit is contained in:
parent
31c576896e
commit
68792bf56a
|
@ -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)) {
|
||||
|
|
|
@ -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…
Reference in New Issue