File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export async function javaRun(
18
18
isUsingCse : boolean ,
19
19
options ?: { uploadIsActive ?: boolean ; uploads ?: UploadResult }
20
20
) {
21
- let compiled : { [ key : string ] : string } = { } ;
21
+ let compiled : { [ key : string ] : string } = { } ;
22
22
23
23
const stderr = ( type : 'TypeCheck' | 'Compile' | 'Runtime' , msg : string ) => {
24
24
context . errors . push ( {
@@ -112,10 +112,11 @@ export async function javaRun(
112
112
try {
113
113
const binaryWriter = new BinaryWriter ( ) ;
114
114
const classes = compileFromSource ( javaCode ) ;
115
- console . debug ( classes )
115
+ console . debug ( classes ) ;
116
116
classes . forEach ( c => {
117
- compiled [ c . className + '.class' ]
118
- = Buffer . from ( binaryWriter . generateBinary ( c . classFile ) ) . toString ( 'base64' ) ;
117
+ compiled [ c . className + '.class' ] = Buffer . from (
118
+ binaryWriter . generateBinary ( c . classFile )
119
+ ) . toString ( 'base64' ) ;
119
120
} ) ;
120
121
} catch ( e ) {
121
122
stderr ( 'Compile' , e ) ;
You can’t perform that action at this time.
0 commit comments