Fix import paths for require_dlopen module
Updated import statements in prebuild-loader.ts and windowsPtyAgent.ts to use relative path './index' for require_dlopen. This resolves incorrect module resolution issues.
This commit is contained in:
1 parent
13523cad26
commit
824a6a3701
2 files changed
+2
-2
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
import { require_dlopen } from 'index';
|
import { require_dlopen } from './index';
|
||||||
export function pty_loader () {
|
export function pty_loader () {
|
||||||
let pty: any;
|
let pty: any;
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import { Socket } from 'net';
|
|||||||
import { ArgvOrCommandLine } from '@homebridge/node-pty-prebuilt-multiarch/src/types';
|
import { ArgvOrCommandLine } from '@homebridge/node-pty-prebuilt-multiarch/src/types';
|
||||||
import { fork } from 'child_process';
|
import { fork } from 'child_process';
|
||||||
import { ConoutConnection } from './windowsConoutConnection';
|
import { ConoutConnection } from './windowsConoutConnection';
|
||||||
import { require_dlopen } from '.';
|
import { require_dlopen } from './index';
|
||||||
import { fileURLToPath } from 'url';
|
import { fileURLToPath } from 'url';
|
||||||
import { dirname } from 'path';
|
import { dirname } from 'path';
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user