Skip to content

Commit bd7484f

Browse files
author
Benjamin E. Coe
authored
feat: load .nycrc/.nycrc.json to simplify migration (#100)
1 parent b9571b1 commit bd7484f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parse-args.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { readFileSync } = require('fs')
44
const Yargs = require('yargs/yargs')
55
const parser = require('yargs-parser')
66

7-
const configPath = findUp.sync(['.c8rc', '.c8rc.json'])
7+
const configPath = findUp.sync(['.c8rc', '.c8rc.json', '.nycrc', `.nycrc.json`])
88
const config = configPath ? JSON.parse(readFileSync(configPath)) : {}
99

1010
function buildYargs (withCommands = false) {

0 commit comments

Comments
 (0)