Skip to content

Commit

Permalink
fix: correction to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Aug 8, 2024
1 parent 176e78a commit 782a12e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node

import main from '../out/cli/main.js';
import main from '../out/main.js';
main();
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as fs from 'node:fs/promises';
import * as path from 'node:path';
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));

const packagePath = path.resolve(__dirname, '..', '..', 'package.json');
const packagePath = path.resolve(__dirname, '..', 'package.json');
const packageContent = await fs.readFile(packagePath, 'utf-8');

export const generateAction = async (fileName: string, opts: GenerateOptions): Promise<void> => {
Expand Down

0 comments on commit 782a12e

Please sign in to comment.