Skip to content

Commit abcdb79

Browse files
committed
compiler: Remove leftover useless variable
1 parent ea8a1e7 commit abcdb79

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

src/compiler/index.js

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -284,24 +284,6 @@ class Compiler {
284284
let libs = this.libsDirs.join(',')
285285
let global = path.relative(baseDir, this.globalsFile)
286286

287-
let compilerArgs =
288-
[
289-
'--explicitStart',
290-
'--exportRuntime',
291-
'--runtime',
292-
'stub',
293-
inputFile,
294-
global,
295-
'--baseDir',
296-
baseDir,
297-
'--lib',
298-
libs,
299-
'--outFile',
300-
outputFile,
301-
'--optimize',
302-
'--debug',
303-
];
304-
305287
asc.compile({
306288
inputFile,
307289
global,
@@ -369,24 +351,6 @@ class Compiler {
369351
let libs = this.libsDirs.join(',')
370352
let global = path.relative(baseDir, this.globalsFile)
371353

372-
let compilerArgs =
373-
[
374-
'--explicitStart',
375-
'--exportRuntime',
376-
'--runtime',
377-
'stub',
378-
inputFile,
379-
global,
380-
'--baseDir',
381-
baseDir,
382-
'--lib',
383-
libs,
384-
'--outFile',
385-
outputFile,
386-
'--optimize',
387-
'--debug',
388-
];
389-
390354
asc.compile({
391355
inputFile,
392356
global,

0 commit comments

Comments
 (0)