• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gulpjs / gulp-cli / 15379317059

01 Jun 2025 08:53PM UTC coverage: 97.865%. Remained the same
15379317059

push

github

web-flow
chore: release 3.1.0 (#273)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

314 of 335 branches covered (93.73%)

596 of 609 relevant lines covered (97.87%)

122.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/lib/shared/config/cli-flags.js
1
'use strict';
2

3
var copyProps = require('copy-props');
154✔
4

5
var fromConfigToCliOpts = {
154✔
6
  'flags.silent': 'silent',
7
  'flags.continue': 'continue',
8
  'flags.series': 'series',
9
  'flags.logLevel': 'logLevel',
10
  'flags.compactTasks': 'compactTasks',
11
  'flags.tasksDepth': 'tasksDepth',
12
  'flags.sortTasks': 'sortTasks',
13
};
14

15
function mergeCliOpts(opts, config) {
16
  opts = copyProps(opts, {});
154✔
17
  return copyProps(config, opts, fromConfigToCliOpts, defaults);
154✔
18
}
19

20
function defaults(cfgInfo, optInfo) {
21
  if (optInfo.value === undefined) {
39✔
22
    return cfgInfo.value;
24✔
23
  }
24
}
25

26
module.exports = mergeCliOpts;
154✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc