Skip to content

Commit

Permalink
Fix an issue with multiple parameters not working after webpack build
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikborsadiya committed Dec 8, 2018
1 parent 07f159e commit 1a087c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"dev": "webpack -d --watch --progress & node node-server",
"build": "webpack -p --progress",
"analyze": "webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json ./build -p 9999",
"analyze": "webpack -p --profile --json > stats.json && webpack-bundle-analyzer stats.json ./docs -p 9999",
"format": "prettier -l --write \"**/*{js,scss}\" "
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/js/services/rpc/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default angular
var uriSettings = _.cloneDeep(settings);
_.each(uri, function(uri_element) {
if (uri_element.startsWith("--")) {
uri_options = uri_element.split(/--|=(.*)/);
var uri_options = uri_element.split(/--|=(.*)/);
if (uri_options.length > 2) {
uriSettings[uri_options[2]] = uri_options[3] || "true";
}
Expand Down

0 comments on commit 1a087c7

Please sign in to comment.