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 Jul 8, 2024
1 parent 069f622 commit 42e3a41
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 42e3a41

Please sign in to comment.