start.js
This file
Path
lib/verbose/start.js
15 lines · 335 bytes · JavaScript
Last changed by
Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348
History of this fileTake it
The walk stopped after 200 commits: lines older than 9f65b86 point at it.
Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348
line 1why, one step back1import {isVerbose} from './values.js';100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 2–3why, one step back2import {verboseLog} from './log.js';3Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348
lines 4–5why, one step back4// When `verbose` is `short|full|custom`, print each command5export const logCommand = (escapedCommand, verboseInfo) => {Refactor `verbose` logic (#1126)ehmickybefore adoptionf9f1199
line 6why, one step back6 if (!isVerbose(verboseInfo)) {100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 7–9why, one step back7 return;8 }9Refactor `verbose` logic (#1126)ehmickybefore adoptionf9f1199
lines 10–11why, one step back10 verboseLog({11 type: 'command',Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348
line 12why, one step back12 verboseMessage: escapedCommand,Refactor `verbose` logic (#1126)ehmickybefore adoptionf9f1199
lines 13–14why, one step back13 verboseInfo,14 });100% test coverage (#1018)ehmickybefore adoption9f65b86
line 15why, one step back15};