File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ const fileName = require("./file-name");
55
66if ( fs . existsSync ( fileName . qualifiedName ) ) { return ; }
77if (
8- process . env [ ' NATIVE_IMAGE_DIFF_SKIP_BINARY_DOWNLOAD_FOR_CI' ] ||
9- process . env . npm_config_native_image_diff_skip_binary_download_for_ci
8+ process . env [ " NATIVE_IMAGE_DIFF_SKIP_BINARY_DOWNLOAD_FOR_CI" ] ||
9+ process . env [ " npm_config_native_image_diff_skip_binary_download_for_ci" ]
1010) {
1111 return ;
1212}
1515const pkg = require ( path . resolve ( __dirname , ".." , "package.json" ) ) ;
1616const packageVersion = pkg . version ;
1717const baseUrl =
18- process . env . NATIVE_IMAGE_DIFF_BINARY_URL ||
19- process . env . npm_config_native_image_diff_binary_url ||
20- ' https://github.com/Prior99/native-image-diff/releases/download' ;
18+ process . env [ " NATIVE_IMAGE_DIFF_BINARY_URL" ] ||
19+ process . env [ " npm_config_native_image_diff_binary_url" ] ||
20+ " https://github.com/Prior99/native-image-diff/releases/download" ;
2121const url = `${ baseUrl } /${ packageVersion } /${ fileName . baseName } ` ;
2222
2323console . info ( `Downloading native-image-diff prebuilt binary from "${ url } ".` ) ;
You can’t perform that action at this time.
0 commit comments