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

Bitwise-Development / ember-cli-typedoc / 3758940042

pending completion
3758940042

push

github

Jones, Michael Dean (Contractor)
test: keep README content out of snapshots

42 of 55 branches covered (76.36%)

Branch coverage included in aggregate %.

57 of 62 relevant lines covered (91.94%)

6.56 hits per line

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

70.59
/packages/ember-cli-typedoc/lib/command-args.js
1
function getArgument(argName) {
2
  const idx = process.argv.findIndex(function (arg) {
10✔
3
    return arg === argName || arg.startsWith(`${argName}=`);
30✔
4
  });
5

6
  if (idx !== -1) {
10!
7
    const [, value] = process.argv[idx].split('=');
×
8
    return value ? value.trim() : process.argv[idx + 1].trim();
×
9
  }
10

11
  return undefined;
10✔
12
}
13

14
function getDistDirectory() {
15
  return getArgument('-o') || getArgument('--output-path') || 'dist';
5✔
16
}
17

18
module.exports = {
6✔
19
  getArgument,
20
  getDistDirectory,
21
};
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