sql-action
sql-action copied to clipboard
[dev] main.js built from Linux different than one built from Windows
The final output is the same size but the order of the exports has one difference. No breaking functionality as the order doesn't matter during runtime, but breaks our check-lib workflow.
This is the block that is different:
2609: function(e, t, n) {
"use strict";
var i = this && this.__awaiter || function(e, t, n, i) {
return new(n || (n = Promise))((function(r, o) {
function s(e) {
try {
c(i.next(e))
} catch (e) {
o(e)
}
}
function a(e) {
try {
c(i.throw(e))
} catch (e) {
o(e)
}
}
function c(e) {
var t;
e.done ? r(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) {
e(t)
}))).then(s, a)
}
c((i = i.apply(e, t || [])).next())
}))
};
Object.defineProperty(t, "__esModule", {
value: !0
});
const r = n(2225),
o = n(4458);
t.AuthorizerFactory = class {
static getAuthorizer() {
return i(this, void 0, void 0, (function*() {
r.debug("try-get AzureCLIAuthorizer");
try {
return yield o.AzureCLIAuthorizer.getAuthorizer()
} catch (e) {
throw r.debug(e), new Error("No credentails found. Add an Azure login script before this action.")
}
}))
}
}
},