Skip to content

Commit 30827b3

Browse files
committed
Fix --confirm flag
1 parent 3592267 commit 30827b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confirmation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const Confirm = require("prompt-confirm");
22

33
module.exports = async function (cliConfirmed, old, target) {
44
if (cliConfirmed) {
5-
return Promise.resolve();
5+
return Promise.resolve(true);
66
}
77

88
const message = `This tool will:

0 commit comments

Comments
 (0)