We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d03ce52 commit 460a439Copy full SHA for 460a439
packages/plugin-variables/.nycrc.json
@@ -4,7 +4,6 @@
4
"exclude": [
5
"**/*.spec.*",
6
"**/fixture",
7
- "**/fixture.js",
8
"test",
9
".*.*",
10
"**/*.config.*"
packages/plugin-variables/lib/remove-unused/fixture.js
@@ -28,8 +28,10 @@ export const readFixtures = (names) => {
28
29
const handler = {
30
get(obj, prop) {
31
+ /* c8 ignore start */
32
if (!obj[prop])
33
throw Error(`"${prop}" not found!`);
34
+ /* c8 ignore end */
35
36
return obj[prop];
37
},
0 commit comments