Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #46 from okuryu/no-destroy
Browse files Browse the repository at this point in the history
Remove destroy() method
  • Loading branch information
Thomas Parisot committed Jan 15, 2015
2 parents af53eb6 + 806f5d1 commit b1a3679
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions tasks/crx.js
Expand Up @@ -35,12 +35,10 @@ module.exports = function(grunt) {
},
// Clearing stuff
function(callback){
extension.destroy();

callback();
}
], /* Baking done! */ done);
});

});
};
};
4 changes: 0 additions & 4 deletions test/lib-crx.js
Expand Up @@ -41,7 +41,6 @@ describe('lib/crx', function(){
expect(grunt.file.expand('test/data/files/' + dynamicFilename)).to.have.lengthOf(0);
expect(grunt.file.expand('test/data/files/updates.xml')).to.have.lengthOf(0);

crx.destroy();
done();
});
});
Expand All @@ -54,7 +53,6 @@ describe('lib/crx', function(){
expect(grunt.file.expand('test/data/files/' + dynamicFilename)).to.have.lengthOf(1);
expect(grunt.file.expand('test/data/files/updates.xml')).to.have.lengthOf(0);

crx.destroy();
done();
});
});
Expand All @@ -71,7 +69,6 @@ describe('lib/crx', function(){
expect(grunt.file.expand(path.join(crx.path + '/stuff/*'))).to.have.lengthOf(0);
expect(grunt.file.expand(path.join(crx.path + '/*'))).to.have.lengthOf(4);

crx.destroy();
done();
});
});
Expand All @@ -89,7 +86,6 @@ describe('lib/crx', function(){
jsZipFile.load(fs.readFileSync(dest));

expect(jsZipFile.file('manifest.json')).to.be.ok;
crx.destroy();
done();
});
});
Expand Down

0 comments on commit b1a3679

Please sign in to comment.