Extract the log function
parent
f60f1b34e9
commit
a71feba251
|
@ -0,0 +1,5 @@
|
|||
const log = (...args) => {
|
||||
process.stdout.write(...args)
|
||||
}
|
||||
|
||||
export { log }
|
|
@ -1,6 +1,5 @@
|
|||
import chalk from 'chalk'
|
||||
|
||||
const log = (...args) => process.stdout.write(...args)
|
||||
import { log } from '../lib/log.js'
|
||||
|
||||
const errorreporter = () => {
|
||||
const report = {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import chalk from 'chalk'
|
||||
import { stackParser } from '../lib/stackparser.js'
|
||||
|
||||
const log = (...args) => console.log(...args)
|
||||
import { log } from '../lib/log.js'
|
||||
|
||||
const linereporter = () => {
|
||||
const lines = []
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import chalk from 'chalk'
|
||||
|
||||
const log = (...args) => process.stdout.write(...args)
|
||||
import { log } from '../lib/log.js'
|
||||
|
||||
const summaryreporter = () => {
|
||||
|
||||
|
|
Loading…
Reference in New Issue