Skip to content

Commit

Permalink
fix: paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Feb 20, 2024
1 parent e9763b0 commit 38f4488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion create-farc/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function create(params: CreateParameters) {

const templateDir = resolve(
import.meta.dirname,
`../../templates/${templateName}`,
`../templates/${templateName}`,
)

const gitignore = fs
Expand Down
2 changes: 1 addition & 1 deletion create-farc/utils/getTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { resolve } from 'node:path'
import { default as fs } from 'fs-extra'

export function getTemplates() {
return fs.readdirSync(resolve(import.meta.dirname, '../../../templates'))
return fs.readdirSync(resolve(import.meta.dirname, '../../templates'))
}

0 comments on commit 38f4488

Please sign in to comment.