travis-ci-com
feat: The build command is now available Squashed commit of the following: commit 2eea83e52 Author: Arturas <a.molcanovas@gmail.com> Date: Tue Oct 23 21:45:08 2018 +0100 fix travis typecheck script commit f460923c8 Author: Arturas <a.molcanovas@gmail.com> Date: Tue Oct 23 21:42:46 2018 +0100 crlf -> lf @ tslib fixtures commit 92a882b07 Author: Arturas <a.molcanovas@gmail.com> Date: Tue Oct 23 21:41:38 2018 +0100 build tests commit 5cb376465 Author: Arturas <a.molcanovas@gmail.com> Date: Tue Oct 23 20:07:42 2018 +0100 update init tests commit b22577238 Author: Arturas <a.molcanovas@gmail.com> Date: Tue Oct 23 19:50:53 2018 +0100 rm webpack refs commit 84052c27e Author: Arturas <a.molcanovas@gmail.com> Date: Tue Oct 23 19:45:02 2018 +0100 post-build package.json write commit 53176d1fa Author: Arturas <a.molcanovas@gmail.com> Date: Tue Oct 23 19:19:21 2018 +0100 ignored externals option commit db5a5d7df Merge: 777bba6 cb24117 Author: Arturas <a.molcanovas@gmail.com> Date: Tue Oct 23 02:01:50 2018 +0100 Merge branch 'staging' into build commit 777bba6e3 Author: Arturas <a.molcanovas@gmail.com> Date: Tue Oct 23 01:58:39 2018 +0100 build base
375 of 617 branches covered (60.78%)
Branch coverage included in aggregate %.
326 of 326 new or added lines in 10 files covered. (100.0%)
1469 of 1726 relevant lines covered (85.11%)
38.15 hits per line
1 |
import * as fs from 'fs'; |
|
|
|
8✔ |
|
export function unlinkSafe(path: string): boolean { |
8✔ |
4 |
try {
|
|
|
fs.unlinkSync(path); |
42✔ |
|
|
42✔ |
|
return true; |
42✔ |
8 |
} catch {
|
|
9 |
return false; |
|
|
} |
× |
11 |
} |