File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ let fs = require('fs-extra'); // eslint-disable-line
25
25
let ui_builder = require ( './lib/ui_builder' ) ; // eslint-disable-line
26
26
let copier = require ( './lib/copier' ) ; // eslint-disable-line
27
27
let pattern_exporter = new pe ( ) ; // eslint-disable-line
28
- let server = require ( './lib/server' ) ; // eslint-disable-line
28
+ let serverModule = require ( './lib/server' ) ; // eslint-disable-line
29
29
30
30
//bootstrap update notifier
31
31
updateNotifier ( {
@@ -54,7 +54,8 @@ const getVersion = function() {
54
54
const patternlab_module = function ( config ) {
55
55
const PatternLabClass = require ( './lib/patternlab' ) ;
56
56
const patternlab = new PatternLabClass ( config ) ;
57
- server = server ( patternlab ) ;
57
+ const server = serverModule ( patternlab ) ;
58
+ 1 ;
58
59
59
60
const _api = {
60
61
/**
You can’t perform that action at this time.
0 commit comments