Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

Alorel / personal-build-tools / 367

23 Oct 2018 - 20:45 coverage increased (+5.02%) to 78.602%
367

Pull #33

travis-ci-com

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
fix travis typecheck script
Pull Request #33: Build

374 of 617 branches covered (60.62%)

Branch coverage included in aggregate %.

288 of 325 new or added lines in 9 files covered. (88.62%)

178 existing lines in 29 files now uncovered.

1470 of 1729 relevant lines covered (85.02%)

38.24 hits per line

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

76.47
/src/lib/init/00_tslint.ts
1
import * as fs from 'fs-extra';
2
import {Git} from '../Git';
8×
3
import {Log} from '../Log';
8×
4

8×
5
const enum Paths {
8×
6
  TSLINT = 'tslint.json'
7
}
56×
8

56×
9
export function handle(): void {
10
  if (!fs.pathExistsSync(Paths.TSLINT)) {
11
    const contents = {
Branches [[1, 0], [1, 1]] missed. 50×
12
      extends: './node_modules/@alorel-personal/tslint-rules/tslint.json'
50×
13
    };
14

15
    //tslint:disable-next-line:no-magic-numbers
16
    fs.writeFileSync(Paths.TSLINT, JSON.stringify(contents, null, 2) + '\n');
50×
UNCOV
17
    Git.add(Paths.TSLINT);
!
18
    Log.success('Wrote tslint.json');
2×
19
  } else {
20
    Log.info('Skipped tslint.json');
UNCOV
21
  }
!
22
}
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2022 Coveralls, Inc