MCPcopy
hub / github.com/standard/standard / runStandardFix

Function runStandardFix

test/external/clone.js:138–146  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

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']

Callers 1

runStandardFunction · 0.85

Calls 2

spawnFunction · 0.85
runGitResetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…