File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,15 @@ module.exports = class PatternLab {
48
48
this . engines = patternEngines ;
49
49
this . engines . loadAllEngines ( config ) ;
50
50
51
+ //
52
+ // INITIALIZE EMPTY GLOBAL DATA STRUCTURES
53
+ //
54
+ this . data = { } ;
55
+ this . data . link = { } ;
56
+ this . patterns = [ ] ;
57
+ this . subtypePatterns = { } ;
58
+ this . partials = { } ;
59
+
51
60
// Cache the package.json in RAM
52
61
this . package = fs . readJSONSync ( path . resolve ( __dirname , '../../package.json' ) ) ;
53
62
@@ -166,15 +175,6 @@ module.exports = class PatternLab {
166
175
process . exit ( 1 ) ;
167
176
}
168
177
169
-
170
- //
171
- // INITIALIZE EMPTY GLOBAL DATA STRUCTURES
172
- //
173
- this . patterns = [ ] ;
174
- this . subtypePatterns = { } ;
175
- this . partials = { } ;
176
- this . data . link = { } ;
177
-
178
178
this . setCacheBust ( ) ;
179
179
180
180
pattern_assembler . combine_listItems ( this ) ;
You can’t perform that action at this time.
0 commit comments