"Found .only in folder" error when trying to commit
See original GitHub issueCurrent behavior:
I tried to commit into my own branch in my fork of cypress. This fails with the error:
Found .only in folder(s) 👎 544: * Mocks global clock but only overrides specific functions. 1847: * Creates a spy / stub but only for calls with given arguments. 2108: * Whether Cypress will upload the video to the Dashboard even if all tests are passing. This applies only when recording your runs to the Dashboard. Turn this off if you’d like the video uploaded only when there are failing tests. 2721: * Causes all
.keys
assertions that follow in the chain to only require that the target have at least one of the given keys. This is the opposite of.all
, which requires that the target have all of the given keys. 3221: * Causes all.keys
assertions that follow in the chain to only require that the target not have at least one of the given keys. This is the opposite of.all
, which requires that the target have all of the given keys. 4352: /** Override name for display purposes only */
But I have done nothing related to this I think.
Desired behavior:
I should be able to commit on Windows without using “–no-verify”
Steps to reproduce: (app code and test code)
Fork cypress-io/cypress repo, make a branch and try to commit the changes made in https://github.com/gabbersepp/cypress/commit/de0a7c0d4936886b1b7576b60bb0b533c9207cb2
Versions
Current develop branch, Win10
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
@jennifer-shehane As (but slightly delayed) promised, brought the change I made on the doc repo over to fix the same issue here.
@jennifer-shehane Yes, this looks very similar to the issue that I proposed a fix for in https://github.com/cypress-io/cypress-documentation/pull/2194 - I can work a similar change in the main repo is the approach is approved.