Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Oct 24, 2024
1 parent fe0b789 commit f55de63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/steps/processExcludedFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export function processExcludedFiles() {
const excludedFiles = allContentFiles.filter((filePath) => !tocSpecifiedFiles.has(filePath));

if (excludedFiles.length) {
shell.rm('-f', excludedFiles)
}
shell.rm('-f', excludedFiles);
}

const includedTocPaths = TocService.getIncludedTocPaths().map((filePath) => {
const relativeTocPath = relative(inputFolderPath, filePath);
Expand All @@ -37,6 +37,6 @@ export function processExcludedFiles() {
});

if (includedTocPaths.length) {
shell.rm('-rf', includedTocPaths)
shell.rm('-rf', includedTocPaths);
}
}

0 comments on commit f55de63

Please sign in to comment.