Skip to content

Commit

Permalink
add reminder to add json format support
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
janfjohannes committed Mar 20, 2024
1 parent 7618c75 commit a881c56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lix/source-code/client/src/mockRepo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { createNodeishMemoryFs, fromSnapshot as loadSnapshot, type Snapshot } fr
import isoGit from "isomorphic-git"
// @ts-ignore
// to load from json file JSON.parse(readFileSync("../mocks/ci-test-repo.json", { encoding: "utf-8" }))
// TODO: allow json init support

export async function mockRepo({ fromSnapshot }: { fromSnapshot?: Snapshot } = {}) {
const nodeishFs = createNodeishMemoryFs()
Expand Down

0 comments on commit a881c56

Please sign in to comment.