Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No files found to match exits with code 3 #38

Open
Th3S4mur41 opened this issue Jun 14, 2017 · 0 comments
Open

No files found to match exits with code 3 #38

Th3S4mur41 opened this issue Jun 14, 2017 · 0 comments

Comments

@Th3S4mur41
Copy link

When working with filter (I use a filter to only verify staged files), html-angular-validate throws an error when there is no file to verify.

        htmlangular: {
            staged: {
                files: [
                    {
                        expand: true,
                        src:[
                            '**/*.html'
                        ],
                        filter: function(filepath) {
                            // do some filtering
                            return found;
                        }
                    }
                ]
            }
        },

Unable to perform validation
html-angular-validate error: No files found to match
Warning: Task "htmlangular:staged" failed. Use --force to continue.

Aborted due to warnings.

It should just display a message like "No Files specified" (behavior from guntify-eslint) instead and not abort with an error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant