(cb)
| 136 | } |
| 137 | |
| 138 | function runStandardFix (cb) { |
| 139 | const args = [STANDARD, '--fix', '--verbose'] |
| 140 | if (pkg.args) args.push(...pkg.args) |
| 141 | spawn('node', args, { cwd: folder }, err => { |
| 142 | const str = `${name} (${pkg.repo}) ** with --fix` |
| 143 | if (err) { t.fail(str) } else { t.pass(str) } |
| 144 | runGitReset(cb) |
| 145 | }) |
| 146 | } |
| 147 | |
| 148 | function runGitReset (cb) { |
| 149 | const args = ['reset', '--hard'] |
no test coverage detected
searching dependent graphs…