Commit 370498d
committed
Downgrade nyc to ^11.0.0
nyc 12 requires Node 6. On Node 4 it causes the following error:
Transformation error for /home/travis/build/kevinoid/git-branch-is/bin/git-branch-is.js ; return original code
Unexpected token ...
Transformation error for /home/travis/build/kevinoid/git-branch-is/index.js ; return original code
Unexpected token ...
Due to use of the spread operator in the instrumentation code, which
results in lack of instrumentation and incorrect coverage info (and a
test failure due to unexpected stderr output).
Stick to 11 as long as this package supports Node v4 and disable David
and Greenkeeper warnings.
Signed-off-by: Kevin Locke <[email protected]>1 parent 13c2bff commit 370498d
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| |||
0 commit comments