Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix: Respect console setting in PlatformIO Terminal
  • Loading branch information
lgeiger committed Apr 15, 2017
1 parent bede317 commit 3c63136
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/main.js
Expand Up @@ -91,7 +91,8 @@ const HydrogenLauncher = {
const connectionFile = this.getConnectionFile();
if (!connectionFile) return;

term.getConnectionCommand(connectionFile, (err, command) => {
const jpConsole = atom.config.get('hydrogen-launcher.console');
term.getConnectionCommand(connectionFile, jpConsole, (err, command) => {
if (!this.platformIoTerminal) {
atom.notifications.addError('PlatformIO IDE Terminal has to be installed.');
} else if (err) {
Expand Down

0 comments on commit 3c63136

Please sign in to comment.