Skip to content

Commit

Permalink
Merge pull request #10972 from quarto-dev/fix/deno-update-test
Browse files Browse the repository at this point in the history
Don't use deno cache with Quarto run when using dev version
  • Loading branch information
cscheid authored Oct 4, 2024
2 parents 540d27f + 5e4f37a commit 85f2378
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/core/run/deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { architectureToolsPath, resourcePath } from "../resources.ts";
import { RunHandler, RunHandlerOptions } from "./types.ts";
import { removeIfExists } from "../path.ts";
import { copyTo } from "../copy.ts";
import { quartoConfig } from "../quarto.ts";

export const denoRunHandler: RunHandler = {
canHandle: (script: string) => {
Expand Down Expand Up @@ -42,7 +43,8 @@ export const denoRunHandler: RunHandler = {
"run",
"--import-map",
importMap,
"--cached-only",
// --cached-only can only be used in bundles as vendoring is not done anymore in dev mode
...(quartoConfig.isDebug() ? [] : ["--cached-only"]),
"--allow-all",
"--unstable-kv",
"--unstable-ffi",
Expand Down
3 changes: 1 addition & 2 deletions tests/docs/run/test-stdlib.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
// Temporarily turn this off.
// import { readLines } from "stdlib/io";
import { readLines } from "stdlib/io";

0 comments on commit 85f2378

Please sign in to comment.