We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docs/smoke-all
1 parent 023e027 commit 5cde082Copy full SHA for 5cde082
tests/smoke/smoke-all.test.ts
@@ -275,7 +275,9 @@ for (const { path: fileName } of files) {
275
276
function findProjectDir(input: string): string | undefined {
277
let dir = dirname(input);
278
- while (dir !== "" && dir !== ".") {
+ // This is used for smoke-all tests and should stop there
279
+ // to avoid side effect of _quarto.yml outside of Quarto tests folders
280
+ while (dir !== "" && dir !== "." && /smoke-all$/.test(dir)) {
281
const filename = ["_quarto.yml", "_quarto.yaml"].find((file) => {
282
const yamlPath = join(dir, file);
283
if (existsSync(yamlPath)) {
0 commit comments