updated logs

This commit is contained in:
2022-06-08 10:29:48 -05:00
parent 55f2a7461a
commit 05d11f11ec
3 changed files with 3 additions and 12 deletions

View File

@@ -44,6 +44,7 @@ async function compileProject(
},
})
} catch (e) {
console.error(name, e)
error = (e as BuildFailure).message
}

View File

@@ -19,8 +19,6 @@ export function updateReadmeFile(fileList: readmeData[]) {
${installLinks}
<!-- END INSTALL LINKS -->`
console.log(JSON.stringify(installLinksAll))
let content = readmeStart + installLinksAll + readmeEnd
writeFileSync(readmeFile, content)
}
@@ -76,12 +74,5 @@ function readReadmeFile(readmeFile: string): [string, string] {
if (contentPost.trimStart().length === 0) contentPost = '\n'
else contentPost = '\n\n' + contentPost.trimStart()
console.log(
JSON.stringify(index),
JSON.stringify(content),
JSON.stringify(contentPre),
JSON.stringify(contentPost)
)
return [contentPre, contentPost]
}

View File

@@ -42,10 +42,9 @@ export default function (name: string): [UserScriptMetaFull, string] {
//cases where the value is empty
if (val === undefined) continue
if (val === false) continue
if (val === '')
continue
if (val === '') continue
//:)
//:)
;(meta[key] as any) = val
}
} catch (e) {