Skip to content

Commit 66b4513

Browse files
author
Dane Springmeyer
committed
drop the overwrite flag
1 parent 289142b commit 66b4513

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

lib/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
module.exports = exports = package
33

4-
exports.usage = 'Packs binary into tarball'
4+
exports.usage = 'Packs binary (and enclosing directory) into locally staged tarball'
55

66
var fs = require('fs')
77
, path = require('path')

lib/testpackage.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ function testpackage(gyp, argv, callback) {
2222
}
2323
var to = opts.module_path;
2424
existsAsync(to, function(found) {
25-
if (found && !gyp.opts['overwrite']) {
26-
return callback(new Error('WARNING: ' + to + ' already exists and will be overwritten: pass --overwrite to confirm'));
27-
}
2825
read(tarball).pipe(unpack(to, function (err) {
2926
if (err) return callback(err);
3027
test_binary.validate(opts,function(err) {

0 commit comments

Comments
 (0)