Skip to content

Commit

Permalink
Export node-pty spawn from main to extensions (#6438)
Browse files Browse the repository at this point in the history
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
  • Loading branch information
jakolehm committed Oct 20, 2022
1 parent 244f0a1 commit 97fc7cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/index.ts
Expand Up @@ -6,6 +6,7 @@
// Main process

import * as Mobx from "mobx";
import { spawn } from "node-pty";
import * as LensExtensionsCommonApi from "../extensions/common-api";
import * as LensExtensionsMainApi from "../extensions/main-api";
import { getDi } from "./getDi";
Expand All @@ -30,4 +31,8 @@ const LensExtensions = {
Main: LensExtensionsMainApi,
};

export { Mobx, LensExtensions };
const Pty = {
spawn,
};

export { Mobx, LensExtensions, Pty };

0 comments on commit 97fc7cf

Please sign in to comment.