mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-12 08:00:06 +01:00
Template dependency injection
This commit is contained in:
parent
1da40bce6f
commit
886c22937d
12 changed files with 39 additions and 8 deletions
|
|
@ -203,7 +203,7 @@ for (let w of cli_what) {
|
|||
if (ex === 'should_have_thrown') {
|
||||
throw new Error('This command should have thrown!')
|
||||
}
|
||||
const actual_error = ex.stderr.toString().split('\n')[0]
|
||||
const actual_error = ex.stderr.toString()
|
||||
if (dump) {
|
||||
fs.writeFileSync(path.join(t, 'error'), actual_error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue