Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Not working properly #5

Open
mayuripansuriya opened this issue Mar 23, 2018 · 5 comments
Open

Not working properly #5

mayuripansuriya opened this issue Mar 23, 2018 · 5 comments

Comments

@mayuripansuriya
Copy link

mayuripansuriya commented Mar 23, 2018

php artisan git-sniffer:check

command not showing any error.

@tonychuuy
Copy link
Owner

This command is supposed to be executed by the pre-commit script placed in hooks folder from .git repo.
Are you executing this command in the terminal?

@mayuripansuriya
Copy link
Author

yes I am running the command in terminal

@tonychuuy
Copy link
Owner

This won't work in the terminal, it works when you do a commit it will check the committed files and run the command for those files then it will show you the errors if found.

@tonychuuy
Copy link
Owner

I haven't check directly in the terminal, but in theory if you have staged files you can run the command directly. Is that what you tried?

@mayuripansuriya
Copy link
Author

Yes, I was trying that way.

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

No branches or pull requests

2 participants