Permalink
Browse files

Fixed building a CRX from CLI.

  • Loading branch information...
1 parent a245af9 commit cfef609fd46d646204a80e75a3a725689e01f5d3 Oncle Tom committed Jan 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/crx.js
View
@@ -72,6 +72,7 @@ function pack(dir) {
: join(input, "key.pem")
, crx = new ChromeExtension({
+ rootDirectory: input,
maxBuffer: program.maxBuffer
})
@@ -80,7 +81,7 @@ function pack(dir) {
crx.privateKey = data
- crx.load(input, function(err) {
+ crx.load(function(err) {
if (err) throw err
this.pack(function(err, data){

0 comments on commit cfef609

Please sign in to comment.