Skip to content

Commit

Permalink
fix: improve debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Nov 13, 2023
1 parent e3aa78d commit ebc352c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion telefunc/node/server/shield/codegen/generateShield.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ function getProject(telefuncFilePath: string, telefuncFileCode: string) {
// @ts-expect-error
sourceFile._compilerNode.fileName
)
assert(false, sourceFiles)
const errMsg = JSON.stringify({ sourceFiles, tsConfigFilePath, telefuncFilePath }, null, 2)
assert(false, errMsg)
}

return { project, telefuncFileSource, shieldGenSource }
Expand Down

0 comments on commit ebc352c

Please sign in to comment.