fix: fixes tsc build

This commit is contained in:
Simone Corsi
2022-05-11 09:49:34 +02:00
parent 55cd9e9c58
commit ec10b79a91
5 changed files with 17185 additions and 10420 deletions

View File

@@ -17,12 +17,11 @@ export async function main() {
// get template if found in the repo
const customTemplatePath = core.getInput('template-path');
console.log(`check if customTemplatePath: ${customTemplatePath} exists`);
core.info(`check if customTemplatePath: ${customTemplatePath} exists`);
try {
const dir = await readdir('./');
template = await readFile(customTemplatePath, 'utf8');
} catch {
console.log("Couldn't find template file, using default");
core.info("Couldn't find template file, using default");
}
const sortedByLanguages = await ghStarFetch({