Skip to content

Commit

Permalink
fix: Fix code error causing paogram to exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 20, 2022
1 parent 2805ee3 commit a3f462c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tsbb/src/babel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export function transform(filename: string, options?: TransformHandleOptions): P
if (err instanceof Error) {
console.log(`\x1b[31;1m Err:Babel:Transform: ${err.message} \x1b[0m`);
}
return reject();
return resolve(result);
}
try {
const output = result.options.filename
Expand Down

0 comments on commit a3f462c

Please sign in to comment.