added more data to readme generation
This commit is contained in:
@@ -5,14 +5,14 @@ import readMeta from './readmeta'
|
||||
import { format, resolveConfig } from 'prettier'
|
||||
import { AllPaths, CLIArgs } from './main'
|
||||
|
||||
export default interface runBuild {
|
||||
export interface runBuildResult {
|
||||
meta: UserScriptMetaFull
|
||||
error: string | null
|
||||
}
|
||||
|
||||
export default function runBuild(
|
||||
name: string,
|
||||
watchCallback: (result: runBuild) => void
|
||||
watchCallback: (result: runBuildResult) => void
|
||||
) {
|
||||
//read meta file
|
||||
let { meta, metaString } = readMeta(name)
|
||||
|
||||
Reference in New Issue
Block a user