File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -113,10 +113,12 @@ module.exports._getDependencies = function(config = {}) {
113
113
114
114
if ( ! result ) {
115
115
debug ( `skipping an empty filepath resolution for partial: ${ dependency } ` ) ;
116
+
116
117
config . nonExistent . push ( dependency ) ;
117
- if ( config . includeNonExisting ) {
118
- resolvedDependencies . push ( ":!EXISTS: " + dependency ) ;
119
- }
118
+ if ( config . includeNonExisting ) {
119
+ resolvedDependencies . push ( `:!EXISTS: ${ dependency } ` ) ;
120
+ }
121
+
120
122
continue ;
121
123
}
122
124
@@ -125,9 +127,11 @@ module.exports._getDependencies = function(config = {}) {
125
127
if ( ! exists ) {
126
128
config . nonExistent . push ( dependency ) ;
127
129
debug ( `skipping non-empty but non-existent resolution: ${ result } for partial: ${ dependency } ` ) ;
128
- if ( config . includeNonExisting ) {
129
- resolvedDependencies . push ( ":!EXISTS: " + dependency ) ;
130
- }
130
+
131
+ if ( config . includeNonExisting ) {
132
+ resolvedDependencies . push ( `:!EXISTS: ${ dependency } ` ) ;
133
+ }
134
+
131
135
continue ;
132
136
}
133
137
You can’t perform that action at this time.
0 commit comments