Skip to content

Commit

Permalink
Merge pull request #1150 from Dyalog/list_int_ssh
Browse files Browse the repository at this point in the history
Fix listing of remote interpreters via SSH
  • Loading branch information
e9gille authored Sep 19, 2023
2 parents 699647f + 1e71830 commit 1953e8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@
interpretersSSH = [];
sm.on('data', (x) => { s += x; })
.on('close', () => {
interpretersSSH = formatInterpreters(s.split(/\r?\n/).filter((x) => x).map((x) => {
interpretersSSH = s.split(/\r?\n/).filter((x) => x).map((x) => {
const a = x.split('/');
return a[1] === 'opt' ? {
exe: x,
Expand All @@ -846,7 +846,8 @@
edition: 'unicode',
opt: '',
};
}));
});
formatInterpreters(interpretersSSH);
updExes();
if (sel) {
sel.exe = q.exe.value;
Expand Down

0 comments on commit 1953e8e

Please sign in to comment.