Skip to content

Commit

Permalink
Deleted a leftover todo
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiospampinato committed Nov 30, 2023
1 parent f4a03ee commit 89f0d87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ function findLastIndex<T>(array: T[], predicate: (value: T, index: number, array
}

function getCachePath(rootPath: string): string {
//TODO: Maybe always put the cache file in "node_modules", even if it doesn't exist
const nodeModulesPaths = path.join(rootPath, "node_modules");
const cachePath = path.join(nodeModulesPaths, ".cache", "prettier", ".prettier-caches");
return cachePath;
Expand Down

0 comments on commit 89f0d87

Please sign in to comment.