This repository was archived by the owner on Sep 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
google-closure-compiler-linux-arm64
google-closure-compiler-linux
google-closure-compiler-macos
google-closure-compiler-windows Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 22
22
23
23
import fs from 'node:fs' ;
24
24
import path from 'node:path' ;
25
+ import { fileURLToPath , URL } from 'node:url' ;
25
26
import chalk from 'chalk' ;
26
27
import runCommand from '../../build-scripts/run-command.js' ;
27
28
29
+ const __dirname = fileURLToPath ( new URL ( '.' , import . meta. url ) ) ;
28
30
const dimWhite = ( text ) => chalk . dim ( chalk . white ( text ) ) ;
29
31
30
32
if ( fs . existsSync ( path . resolve ( __dirname , 'compiler' ) ) ) {
Original file line number Diff line number Diff line change 22
22
23
23
import fs from 'node:fs' ;
24
24
import path from 'node:path' ;
25
+ import { fileURLToPath , URL } from 'node:url' ;
25
26
import chalk from 'chalk' ;
26
27
import runCommand from '../../build-scripts/run-command.js' ;
27
28
29
+ const __dirname = fileURLToPath ( new URL ( '.' , import . meta. url ) ) ;
28
30
const dimWhite = ( text ) => chalk . dim ( chalk . white ( text ) ) ;
29
31
30
32
if ( fs . existsSync ( path . resolve ( __dirname , 'compiler' ) ) ) {
Original file line number Diff line number Diff line change 22
22
23
23
import fs from 'node:fs' ;
24
24
import path from 'node:path' ;
25
+ import { fileURLToPath , URL } from 'node:url' ;
25
26
import chalk from 'chalk' ;
26
27
import runCommand from '../../build-scripts/run-command.js' ;
27
28
29
+ const __dirname = fileURLToPath ( new URL ( '.' , import . meta. url ) ) ;
28
30
const dimWhite = ( text ) => chalk . dim ( chalk . white ( text ) ) ;
29
31
30
32
if ( fs . existsSync ( path . resolve ( __dirname , 'compiler' ) ) ) {
Original file line number Diff line number Diff line change 22
22
23
23
import fs from 'node:fs' ;
24
24
import path from 'node:path' ;
25
+ import { fileURLToPath , URL } from 'node:url' ;
25
26
import chalk from 'chalk' ;
26
27
import runCommand from '../../build-scripts/run-command.js' ;
27
28
29
+ const __dirname = fileURLToPath ( new URL ( '.' , import . meta. url ) ) ;
28
30
const dimWhite = ( text ) => chalk . dim ( chalk . white ( text ) ) ;
29
31
30
32
// The windows sdk set env command messes with colors, so reset the console back to default
You can’t perform that action at this time.
0 commit comments