Skip to content

Commit

Permalink
Fixing keypress support
Browse files Browse the repository at this point in the history
  • Loading branch information
fishcharlie committed Apr 16, 2020
1 parent b5e0a62 commit c5f35d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions publish/index.js
Expand Up @@ -147,8 +147,8 @@ let package = require("../package.json");
async function checkCleanWorkingDir() {
return (await git.status()).isClean();
}

function keypress() {
process.stdin.resume();
process.stdin.setRawMode(true);
return new Promise((resolve) => {
process.stdin.once("data", () => {
Expand All @@ -158,7 +158,6 @@ function keypress() {
});
});
}

async function isPRMerged(pr) {
let data;
do {
Expand Down

0 comments on commit c5f35d0

Please sign in to comment.