Initial commit
This commit is contained in:
15
node_modules/execa/lib/verbose/start.js
generated
vendored
Normal file
15
node_modules/execa/lib/verbose/start.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import {isVerbose} from './values.js';
|
||||
import {verboseLog} from './log.js';
|
||||
|
||||
// When `verbose` is `short|full|custom`, print each command
|
||||
export const logCommand = (escapedCommand, verboseInfo) => {
|
||||
if (!isVerbose(verboseInfo)) {
|
||||
return;
|
||||
}
|
||||
|
||||
verboseLog({
|
||||
type: 'command',
|
||||
verboseMessage: escapedCommand,
|
||||
verboseInfo,
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user