Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
19 lines
650 B
Plaintext
19 lines
650 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var prebuild_file_path_1 = require("./prebuild-file-path");
|
|
var pty;
|
|
try {
|
|
pty = require(prebuild_file_path_1.ptyPath || '../build/Release/pty.node');
|
|
}
|
|
catch (outerError) {
|
|
try {
|
|
pty = require(prebuild_file_path_1.ptyPath ? '../build/Release/pty.node' : '../build/Debug/pty.node');
|
|
}
|
|
catch (innerError) {
|
|
console.error('innerError', innerError);
|
|
// Re-throw the exception from the Release require if the Debug require fails as well
|
|
throw outerError;
|
|
}
|
|
}
|
|
exports.default = pty;
|
|
//# sourceMappingURL=prebuild-loader.js.map |