Skip to content
Snippets Groups Projects
Commit 689f86aa authored by Michael Kriese's avatar Michael Kriese Committed by Rhys Arkins
Browse files

fix grep

parent 72c5b43c
Branches
No related tags found
No related merge requests found
...@@ -2,9 +2,7 @@ import shell from 'shelljs'; ...@@ -2,9 +2,7 @@ import shell from 'shelljs';
shell.exec('yarn create-json-schema'); shell.exec('yarn create-json-schema');
const res = shell const res = shell.exec('git status --porcelain', { silent: true });
.exec('git status --porcelain', { silent: true })
.grep('renovate-schema.json');
if (res.code === 0 && !res.includes('renovate-schema.json')) { if (res.code === 0 && !res.includes('renovate-schema.json')) {
shell.echo('PASS: renovate-schema.json is up to date'); shell.echo('PASS: renovate-schema.json is up to date');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment