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(
1818 isUsingCse : boolean ,
1919 options ?: { uploadIsActive ?: boolean ; uploads ?: UploadResult }
2020) {
21- let compiled : { [ key : string ] : string } = { } ;
21+ let compiled : { [ key : string ] : string } = { } ;
2222
2323 const stderr = ( type : 'TypeCheck' | 'Compile' | 'Runtime' , msg : string ) => {
2424 context . errors . push ( {
@@ -112,10 +112,11 @@ export async function javaRun(
112112 try {
113113 const binaryWriter = new BinaryWriter ( ) ;
114114 const classes = compileFromSource ( javaCode ) ;
115- console . debug ( classes )
115+ console . debug ( classes ) ;
116116 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' ) ;
119120 } ) ;
120121 } catch ( e ) {
121122 stderr ( 'Compile' , e ) ;
You can’t perform that action at this time.
0 commit comments