File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 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 = {}) {
113113
114114 if ( ! result ) {
115115 debug ( `skipping an empty filepath resolution for partial: ${ dependency } ` ) ;
116+
116117 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+
120122 continue ;
121123 }
122124
@@ -125,9 +127,11 @@ module.exports._getDependencies = function(config = {}) {
125127 if ( ! exists ) {
126128 config . nonExistent . push ( dependency ) ;
127129 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+
131135 continue ;
132136 }
133137
You can’t perform that action at this time.
0 commit comments