Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
fix: remove unnecessary file creation from ddoc
Browse files Browse the repository at this point in the history
  • Loading branch information
fox1t committed Mar 4, 2020
1 parent 6fa252a commit d6c8e4a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bin/ddoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ prog
const sourceFile = (await readFile(srcPath)).toString()
const output = ts.transpileModule(sourceFile, tsconfig)
const filename = path.basename(srcPath, '.ts')
await writeFile(path.join(src, `${filename}.js`), output.outputText)
const ddoc = requireFromString(output.outputText)
const stringifiedDesign = JSON.stringify(
ddoc,
Expand Down

0 comments on commit d6c8e4a

Please sign in to comment.