wishthis/node_modules/gulp-cli/lib/shared/make-title.js

12 lines
174 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
'use strict';
function makeTitle(cmd, argv) {
if (!argv || argv.length === 0) {
return cmd;
}
return [cmd].concat(argv).join(' ');
}
module.exports = makeTitle;