Skip to content

Commit 2699fa7

Browse files
committed
Remove unnecessary comment
1 parent 06f833a commit 2699fa7

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/command/render/cleanup.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ export function renderCleanup(
7474
filesDir = normalizePath(filesDir);
7575
}
7676
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).
8277
if (pathsEqual(filesDir, supportingDir)) {
8378
return join(filesDir, figuresDir(figureFormat));
8479
} else {

0 commit comments

Comments
 (0)