fix: fixes default template path
This commit is contained in:
parent
e1f37af978
commit
6cd9c30b20
53
index.js
53
index.js
@ -15018,7 +15018,7 @@ An error to be thrown when given an unsupported protocol.
|
|||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
// set default template
|
// set default template
|
||||||
let template = yield (0, promises_1.readFile)(
|
let template = yield (0, promises_1.readFile)(
|
||||||
path_1.default.resolve(__dirname, './TEMPLATE.md'),
|
path_1.default.resolve(__dirname, './TEMPLATE.ejs'),
|
||||||
'utf8'
|
'utf8'
|
||||||
);
|
);
|
||||||
// get template if found in the repo
|
// get template if found in the repo
|
||||||
@ -30410,29 +30410,25 @@ An error to be thrown when given an unsupported protocol.
|
|||||||
},
|
},
|
||||||
|
|
||||||
/******/
|
/******/
|
||||||
};
|
}; // The module cache
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ // The module cache
|
/******/ /******/ var __webpack_module_cache__ = {}; // The require function
|
||||||
/******/ var __webpack_module_cache__ = {};
|
|
||||||
/******/
|
/******/
|
||||||
/******/ // The require function
|
/******/ /******/ function __nccwpck_require__(moduleId) {
|
||||||
/******/ function __nccwpck_require__(moduleId) {
|
|
||||||
/******/ // Check if module is in cache
|
/******/ // Check if module is in cache
|
||||||
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
||||||
/******/ if (cachedModule !== undefined) {
|
/******/ if (cachedModule !== undefined) {
|
||||||
/******/ return cachedModule.exports;
|
/******/ return cachedModule.exports;
|
||||||
/******/
|
/******/
|
||||||
}
|
} // Create a new module (and put it into the cache)
|
||||||
/******/ // Create a new module (and put it into the cache)
|
/******/ /******/ var module = (__webpack_module_cache__[moduleId] = {
|
||||||
/******/ var module = (__webpack_module_cache__[moduleId] = {
|
|
||||||
/******/ // no module.id needed
|
/******/ // no module.id needed
|
||||||
/******/ // no module.loaded needed
|
/******/ // no module.loaded needed
|
||||||
/******/ exports: {},
|
/******/ exports: {},
|
||||||
/******/
|
/******/
|
||||||
});
|
}); // Execute the module function
|
||||||
/******/
|
/******/
|
||||||
/******/ // Execute the module function
|
/******/ /******/ var threw = true;
|
||||||
/******/ var threw = true;
|
|
||||||
/******/ try {
|
/******/ try {
|
||||||
/******/ __webpack_modules__[moduleId].call(
|
/******/ __webpack_modules__[moduleId].call(
|
||||||
module.exports,
|
module.exports,
|
||||||
@ -30445,16 +30441,14 @@ An error to be thrown when given an unsupported protocol.
|
|||||||
} finally {
|
} finally {
|
||||||
/******/ if (threw) delete __webpack_module_cache__[moduleId];
|
/******/ if (threw) delete __webpack_module_cache__[moduleId];
|
||||||
/******/
|
/******/
|
||||||
}
|
} // Return the exports of the module
|
||||||
/******/
|
/******/
|
||||||
/******/ // Return the exports of the module
|
/******/ /******/ return module.exports;
|
||||||
/******/ return module.exports;
|
|
||||||
/******/
|
/******/
|
||||||
}
|
} /* webpack/runtime/define property getters */
|
||||||
/******/
|
/******/
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ /* webpack/runtime/define property getters */
|
/******/ /******/ (() => {
|
||||||
/******/ (() => {
|
|
||||||
/******/ // define getter functions for harmony exports
|
/******/ // define getter functions for harmony exports
|
||||||
/******/ __nccwpck_require__.d = (exports, definition) => {
|
/******/ __nccwpck_require__.d = (exports, definition) => {
|
||||||
/******/ for (var key in definition) {
|
/******/ for (var key in definition) {
|
||||||
@ -30473,17 +30467,15 @@ An error to be thrown when given an unsupported protocol.
|
|||||||
/******/
|
/******/
|
||||||
};
|
};
|
||||||
/******/
|
/******/
|
||||||
})();
|
})(); /* webpack/runtime/hasOwnProperty shorthand */
|
||||||
/******/
|
/******/
|
||||||
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
/******/ /******/ (() => {
|
||||||
/******/ (() => {
|
|
||||||
/******/ __nccwpck_require__.o = (obj, prop) =>
|
/******/ __nccwpck_require__.o = (obj, prop) =>
|
||||||
Object.prototype.hasOwnProperty.call(obj, prop);
|
Object.prototype.hasOwnProperty.call(obj, prop);
|
||||||
/******/
|
/******/
|
||||||
})();
|
})(); /* webpack/runtime/make namespace object */
|
||||||
/******/
|
/******/
|
||||||
/******/ /* webpack/runtime/make namespace object */
|
/******/ /******/ (() => {
|
||||||
/******/ (() => {
|
|
||||||
/******/ // define __esModule on exports
|
/******/ // define __esModule on exports
|
||||||
/******/ __nccwpck_require__.r = (exports) => {
|
/******/ __nccwpck_require__.r = (exports) => {
|
||||||
/******/ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
/******/ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||||
@ -30496,19 +30488,16 @@ An error to be thrown when given an unsupported protocol.
|
|||||||
/******/
|
/******/
|
||||||
};
|
};
|
||||||
/******/
|
/******/
|
||||||
})();
|
})(); /* webpack/runtime/compat */
|
||||||
/******/
|
|
||||||
/******/ /* webpack/runtime/compat */
|
|
||||||
/******/
|
/******/
|
||||||
|
/******/ /******/
|
||||||
/******/ if (typeof __nccwpck_require__ !== 'undefined')
|
/******/ if (typeof __nccwpck_require__ !== 'undefined')
|
||||||
__nccwpck_require__.ab = __dirname + '/';
|
__nccwpck_require__.ab = __dirname + '/'; // startup // Load entry module and return exports // This entry module is referenced by other modules so it can't be inlined
|
||||||
/******/
|
/******/
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/
|
/******/
|
||||||
/******/ // startup
|
/******/ /******/ /******/ /******/ var __webpack_exports__ =
|
||||||
/******/ // Load entry module and return exports
|
__nccwpck_require__(6144);
|
||||||
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
||||||
/******/ var __webpack_exports__ = __nccwpck_require__(6144);
|
|
||||||
/******/ module.exports = __webpack_exports__;
|
/******/ module.exports = __webpack_exports__;
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
|
@ -14,7 +14,7 @@ import git from './git';
|
|||||||
export async function main() {
|
export async function main() {
|
||||||
// set default template
|
// set default template
|
||||||
let template = await readFile(
|
let template = await readFile(
|
||||||
path.resolve(__dirname, './TEMPLATE.md'),
|
path.resolve(__dirname, './TEMPLATE.ejs'),
|
||||||
'utf8'
|
'utf8'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user