update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
13
electron/node_modules/electron-publish/out/util.js
generated
vendored
Normal file
13
electron/node_modules/electron-publish/out/util.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.trimStringWithWarn = void 0;
|
||||
const builder_util_1 = require("builder-util");
|
||||
const trimStringWithWarn = (str, maxLength, warnMessage) => {
|
||||
if (str.length <= maxLength) {
|
||||
return str;
|
||||
}
|
||||
builder_util_1.log.warn({ length: str.length, maxLength }, warnMessage);
|
||||
return str.substring(0, maxLength);
|
||||
};
|
||||
exports.trimStringWithWarn = trimStringWithWarn;
|
||||
//# sourceMappingURL=util.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue