Cannot find binaries on windows, because '.exe' extension is not verified
at
var binaryName = "dbmate-".concat(platformName(), "-").concat(archName());
var binaryPath = (0, path_1.join)(__dirname, '..', 'binaries', binaryName);
if (!(0, fs_1.existsSync)(binaryPath)) { //<<<< if windows should add ".exe" extension check
throw new Error("Could not locate binary: ".concat(binaryPath));
}
return binaryPath;
}