Filesystem org
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-03-07 02:07:16 +03:00
parent 76fdee2cfc
commit fd32ca704a
15 changed files with 3 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ a {
background: white;
color: black;
text-align: center;
overflow: hidden;
}
.hero > .main {

View File

View File

@@ -13,7 +13,7 @@ class Output {
}
async compileTemplate () {
const templateFile = await fs.readFileSync('./output/template.hbs', 'utf8')
const templateFile = await fs.readFileSync('./src/output/template.hbs', 'utf8')
const template = Handlebars.compile(templateFile)
return template(this)
}
@@ -26,7 +26,7 @@ class Output {
} catch {
console.log('File probably doesnt exist')
}
fs.writeFileSync(filename, content, 'utf-8')
fs.writeFileSync(filename, content, 'utf8')
}
async submit () {