Skip to content

Commit ad82f9a

Browse files
committed
fixed debug default value
1 parent 58ac230 commit ad82f9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

addon/ng2/models/webpack-build-test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
const path = require('path');
44
const webpack = require('webpack');
55

6-
const getWebpackTestConfig = function(projectRoot, appConfig, debug=false) {
6+
const getWebpackTestConfig = function(projectRoot, appConfig, debug) {
77

88
const appRoot = path.resolve(projectRoot, appConfig.root);
9+
var debug = typeof debug !== 'undefined' ? debug : false;
910

1011
return {
1112
devtool: 'inline-source-map',

0 commit comments

Comments
 (0)