File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,6 @@ import * as esbuild from 'esbuild';
44const watch = process . argv . includes ( '--watch' ) ;
55const minify = process . argv . includes ( '--minify' ) ;
66
7- const success = watch ? 'Watch build succeeded' : 'Build succeeded' ;
8-
9- function getTime ( ) {
10- const date = new Date ( ) ;
11- return `[${ `${ padZeroes ( date . getHours ( ) ) } :${ padZeroes ( date . getMinutes ( ) ) } :${ padZeroes ( date . getSeconds ( ) ) } ` } ] ` ;
12- }
13-
14- function padZeroes ( i ) {
15- return i . toString ( ) . padStart ( 2 , '0' ) ;
16- }
17-
187const ctx = await esbuild . context ( {
198 // Entry points for the vscode extension and the language server
209 entryPoints : [ 'src/language/main.ts' ] ,
@@ -34,5 +23,5 @@ if (watch) {
3423 await ctx . watch ( ) ;
3524} else {
3625 await ctx . rebuild ( ) ;
37- ctx . dispose ( ) ;
26+ await ctx . dispose ( ) ;
3827}
You can’t perform that action at this time.
0 commit comments