@iobroker/create-adapter
Version:
Command line utility to create customized ioBroker adapters
14 lines • 569 B
JavaScript
;
const createAdapter_1 = require("../../../src/lib/createAdapter");
const templateFunction = answers => {
const useDependabot = answers.dependabot === "yes";
if (!useDependabot) {
return;
}
return (0, createAdapter_1.readFile)("dependabot-auto-merge.raw.yml", __dirname);
};
templateFunction.customPath = ".github/workflows/dependabot-auto-merge.yml";
// Reformatting this would create mixed tabs and spaces
templateFunction.noReformat = true;
module.exports = templateFunction;
//# sourceMappingURL=dependabot-auto-merge.yml.js.map