travis-ci-com
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
1 |
import * as fs from 'fs-extra'; |
|
2 |
import {Fixture} from '../Fixture'; |
8× |
3 |
import {Git} from '../Git'; |
8× |
4 |
import {Log} from '../Log'; |
8× |
5 |
|
8× |
6 |
const enum Conf { |
8× |
7 |
FILE = '.alobuild.yml' |
|
8 |
} |
56× |
9 |
|
6× |
10 |
export function handle() {
|
|
11 |
if (fs.pathExistsSync('.alobuild.yml')) { |
|
12 |
Log.info('Skipping .alobuild.yml'); |
Branches [[1, 0], [1, 1]] missed. 50× |
13 |
} else {
|
50× |
14 |
new Fixture('init').copy(Conf.FILE, Conf.FILE); |
|
15 |
Git.add(Conf.FILE); |
|
16 |
Log.success('Generated .alobuild.yml'); |
50× |
17 |
} |
2× |
UNCOV
18
|
} |
! |