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.
1 parent 06f833a commit 2699fa7Copy full SHA for 2699fa7
1 file changed
src/command/render/cleanup.ts
@@ -74,11 +74,6 @@ export function renderCleanup(
74
filesDir = normalizePath(filesDir);
75
}
76
supporting = supporting.map((supportingDir) => {
77
- // Compare separator-agnostically: the knitr engine reports supportingDir
78
- // with forward slashes on Windows (R path convention) while filesDir uses
79
- // the platform separator. A raw === comparison fails on Windows, so the
80
- // parent index_files dir gets removed wholesale instead of being narrowed
81
- // to the figure dir (#14613).
82
if (pathsEqual(filesDir, supportingDir)) {
83
return join(filesDir, figuresDir(figureFormat));
84
} else {
0 commit comments