Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 69f3eec

Browse files
chore(ci): skip error conditions, improve coverage
1 parent f5d4442 commit 69f3eec

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

‎src/module.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export default function NetlifyCmsModule(moduleOptions) {
6161
netlifyCompiler.plugin("done", async stats => {
6262
// Don't reload failed builds
6363
if (stats.hasErrors()) {
64+
/* istanbul ignore next */
6465
return;
6566
}
6667
debug(`Bundle built!`);

‎src/utils/yaml.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const toYAML = function(object) {
1212
const yaml = safeDump(object);
1313
return yaml;
1414
} catch (e) {
15+
/* istanbul ignore next */
1516
debug(e.message, e.name);
1617
return false;
1718
}
@@ -26,6 +27,7 @@ const loadYAMLFile = function(configFile) {
2627
});
2728
return contents;
2829
} catch (e) {
30+
/* istanbul ignore next */
2931
if (e.code !== "ENOENT") {
3032
debug(e.message, e.name);
3133
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /