Danger: fix test files glob
This commit is contained in:
parent
e472092bec
commit
504693db83
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import { danger, warn, message } from 'danger';
|
||||||
|
|
||||||
const docs = danger.git.fileMatch('docs/**/*.md');
|
const docs = danger.git.fileMatch('docs/**/*.md');
|
||||||
const app = danger.git.fileMatch('app/**/*.(js|ts|tsx)');
|
const app = danger.git.fileMatch('app/**/*.(js|ts|tsx)');
|
||||||
const tests = danger.git.fileMatch('*/__tests__/*');
|
const tests = danger.git.fileMatch('**/__tests__/**');
|
||||||
|
|
||||||
if (docs.edited) {
|
if (docs.edited) {
|
||||||
message('Thanks - We :heart: our [documentarians](http://www.writethedocs.org/)!');
|
message('Thanks - We :heart: our [documentarians](http://www.writethedocs.org/)!');
|
||||||
|
|
Loading…
Reference in a new issue