We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b919d9a + 89dd6e0 commit fd33c79Copy full SHA for fd33c79
src/configLoad.js
@@ -1,7 +1,9 @@
1
import { cosmiconfigSync } from 'cosmiconfig';
2
3
export default () => {
4
- const configResult = cosmiconfigSync('run-if-changed').search();
+ const configResult = cosmiconfigSync('run-if-changed', {
5
+ searchStrategy: 'project',
6
+ }).search();
7
8
if (!configResult || configResult.isEmpty) {
9
process.exit(0);
0 commit comments