Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nadeesha Cabral <[email protected]>
  • Loading branch information
johnjcsmith and nadeesha authored Dec 3, 2024
1 parent 4c73d11 commit 96e9604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pg-stat-analysis/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { readFileSync, writeFileSync, existsSync } from 'fs';
import { Inferable } from 'inferable';
import { z } from 'zod';

const HISTORY_PATH = './history.json';
const HISTORY_PATH = path.join(__dirname, 'history.json')

if (!existsSync(HISTORY_PATH)) {
writeFileSync(HISTORY_PATH, JSON.stringify({ suggestions: [] }));
Expand Down

0 comments on commit 96e9604

Please sign in to comment.