Closed bryophyta closed 1 year ago
Name | Link |
---|---|
Latest commit | 93b8ddf262005aba9a43aa2377668b726a25e3bc |
Latest deploy log | https://app.netlify.com/sites/lumeland/deploys/643166ec5bf5ca000821529c |
Deploy Preview | https://deploy-preview-61--lumeland.netlify.app/docs/configuration/ignore-files |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Fair enough. Thanks!
thanks for the prompt review 👍
The example code for passing a ScopeFilter function to
site.ignore
doesn't compile. The signature for ScopeFilter specifies that it should return a boolean, butString.prototype.match
returns either an Array ornull
.https://github.com/lumeland/lume/blob/be25eb894e6886cdaf4552188b88ad4e5b61b39c/core/scopes.ts#L61
This branch updates the example function to return a boolean, but should otherwise preserve the intended functionality for the example filter.