Skip to content

Commit

Permalink
double open message fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhdaware committed Sep 8, 2019
1 parent 5a551c7 commit e3ff964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,16 @@ async function openProject(projectName){
throwCreateIssueError(stderr);
return;
}

console.log(`${chalk.bold.green(">>>")} Opening ${selectedProject.name} ${chalk.green("✔")}`);

}catch(err){
console.error("Could not open project :(");
console.warn(`Are you sure your editor uses command ${chalk.yellow(commandToOpen)} to open directories from terminal?`);
throwCreateIssueError(err);
return;
}

console.log(`Opening ${selectedProject.name} :D !`);
}

// pm seteditor [command]
Expand Down

0 comments on commit e3ff964

Please sign in to comment.