zyb 0c0b5d869c 加入了node_modules
添加了新的功能项
2025-05-13 21:23:41 +08:00

16 lines
335 B
JavaScript

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,
});
};