Skip to content

Commit

Permalink
remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ljzn committed Sep 29, 2024
1 parent f15b61b commit 9ae49bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/compilerWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,6 @@ export function compile(

const curWorkingDir = settings.cwd || srcDir;

settings = Object.assign({}, defaultCompilingSettings, settings);

const sourceContent = source.content !== undefined ? source.content : readFileSync(sourcePath, 'utf8');

const maxBuffer = settings.stdout ? 1024 * 1024 * 100 : 1024 * 1024;
Expand Down

0 comments on commit 9ae49bf

Please sign in to comment.