Add header to intergen.ts
This commit is contained in:
parent
f817c75d57
commit
0e6c45ce8b
@ -368,7 +368,8 @@ export function intergen(...argv: string[]): string {
|
||||
module: ts.ModuleKind.CommonJS,
|
||||
})
|
||||
|
||||
const value = interfaces.join('\n\n')
|
||||
const header = '// This file was generated by rondo intergen script\n\n'
|
||||
const value = header + interfaces.join('\n\n')
|
||||
if (args.output === '-') {
|
||||
info(value)
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user