Skip to content

Commit

Permalink
Hack to avoid having more node_dependencies and create a zip
Browse files Browse the repository at this point in the history
file to upload to the brackets registry without getting an error
due to a lot of node modules nested.
  • Loading branch information
albertinad committed Feb 3, 2015
1 parent 4b09065 commit 3da7692
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion node/BowerDomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ maxerr: 50, node: true */
"use strict";

var bower = require("bower"),
bowerConfig = require("bower-config"),
// hack to avoid more node dependencies and to be able to upload the zip file
// TODO remove this and use bower-config once it is fixed
bowerConfig = require("./node_modules/bower/node_modules/bower-config/lib/Config"),
Cli = require("./Cli");

var DOMAIN_NAME = "bower";
Expand Down

0 comments on commit 3da7692

Please sign in to comment.