File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ export default function NetlifyCmsModule(moduleOptions) {
61
61
netlifyCompiler . plugin ( "done" , async stats => {
62
62
// Don't reload failed builds
63
63
if ( stats . hasErrors ( ) ) {
64
+ /* istanbul ignore next */
64
65
return ;
65
66
}
66
67
debug ( `Bundle built!` ) ;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const toYAML = function(object) {
12
12
const yaml = safeDump ( object ) ;
13
13
return yaml ;
14
14
} catch ( e ) {
15
+ /* istanbul ignore next */
15
16
debug ( e . message , e . name ) ;
16
17
return false ;
17
18
}
@@ -26,6 +27,7 @@ const loadYAMLFile = function(configFile) {
26
27
} ) ;
27
28
return contents ;
28
29
} catch ( e ) {
30
+ /* istanbul ignore next */
29
31
if ( e . code !== "ENOENT" ) {
30
32
debug ( e . message , e . name ) ;
31
33
}
You can’t perform that action at this time.
0 commit comments