From 9ae49bfed7b5b71c5e5cbd96d339157199a0fbce Mon Sep 17 00:00:00 2001 From: zhanglinjie Date: Sun, 29 Sep 2024 22:26:24 +0800 Subject: [PATCH] remove duplicate code --- src/compilerWrapper.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compilerWrapper.ts b/src/compilerWrapper.ts index 36f2f09..2ec71b8 100644 --- a/src/compilerWrapper.ts +++ b/src/compilerWrapper.ts @@ -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;