File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Services/Common/OJS.Workers/OJS.Workers.Compilers Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,9 @@ public override string ChangeOutputFileAfterCompilation(string outputFile)
30
30
31
31
public override string BuildCompilerArguments ( string inputFile , string outputFile , string additionalArguments )
32
32
{
33
- var inputFileDirectory = Path . GetDirectoryName ( inputFile )
34
- ?? throw new DirectoryNotFoundException ( $ "Input file directory not found. Input file path value: { inputFile } ") ;
35
-
36
- var compilingDir = FileHelpers . BuildPath ( inputFileDirectory , CompilationDirectoryName ) ;
37
- Directory . CreateDirectory ( compilingDir ) ;
38
-
39
33
var arguments = new StringBuilder ( ) ;
40
34
arguments . Append ( "build " ) ;
41
- arguments . Append ( $ "-o { compilingDir } ") ;
35
+ arguments . Append ( $ "-o { this . CompilationDirectory } ") ;
42
36
arguments . Append ( $ "\" { inputFile } \" ") ;
43
37
arguments . Append ( additionalArguments ) ;
44
38
return arguments . ToString ( ) . Trim ( ) ;
You can’t perform that action at this time.
0 commit comments