File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -203,10 +203,16 @@ async function findChrome(): Promise<string | undefined> {
203203 let path ;
204204 // First check env var and use this path if specified
205205 const envPath = Deno . env . get ( "QUARTO_CHROMIUM" ) ;
206- if ( envPath && safeExistsSync ( envPath ) ) {
206+ if ( envPath ) {
207207 debug ( "[CHROMIUM] Using path specified in QUARTO_CHROMIUM" ) ;
208- debug ( `[CHROMIUM] Path: ${ envPath } ` ) ;
209- return envPath ;
208+ if ( safeExistsSync ( envPath ) ) {
209+ debug ( `[CHROMIUM] Found at ${ envPath } , and will be used.` ) ;
210+ return envPath ;
211+ } else {
212+ debug (
213+ `[CHROMIUM] Not found at ${ envPath } . Check your environment variable valye. Searching now for another binary.` ,
214+ ) ;
215+ }
210216 }
211217 // Otherwise, try to find the path based on OS.
212218 if ( Deno . build . os === "darwin" ) {
You can’t perform that action at this time.
0 commit comments