Skip to content

Commit

Permalink
Update path-to-regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
yanthomasdev committed Sep 12, 2024
1 parent e8fa61d commit 093a352
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"empathic": "^1.0.0",
"jiti": "2.0.0-beta.3",
"neotraverse": "^0.6.18",
"path-to-regexp": "6.2.2",
"path-to-regexp": "6.3.0",
"picomatch": "^4.0.2",
"simple-git": "^3.26.0",
"tinyglobby": "^0.2.6",
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/status/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class LunariaGitInstance {
this.#config = config;
}

// TODO: Try to cache the latest changes hash for each file so that you don't have to fetch the entire history every run, only new ones.
async #getFileHistory(path: string) {
try {
const log = await this.#git.log({
Expand Down
9 changes: 7 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 093a352

Please sign in to comment.