style: lint
This commit is contained in:
1 parent
179351b23a
commit
59a7d12a8c
7 files changed
+36
-26
No files matched your search
@@ -1,9 +1,10 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { require_dlopen } from '.';
|
||||
export function pty_loader() {
|
||||
let pty: any;
|
||||
try {
|
||||
pty = require_dlopen('./pty/' + process.platform + '.' + process.arch + '/pty.node');
|
||||
} catch (outerError) {
|
||||
} catch {
|
||||
pty = undefined;
|
||||
}
|
||||
return pty;
|
||||
|
||||
Reference in new issue
Block a user