updated logs
This commit is contained in:
@@ -44,6 +44,7 @@ async function compileProject(
|
||||
},
|
||||
})
|
||||
} catch (e) {
|
||||
console.error(name, e)
|
||||
error = (e as BuildFailure).message
|
||||
}
|
||||
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
|
||||
@@ -42,8 +42,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user