Skip to content

Commit

Permalink
fix: create carbon path to template
Browse files Browse the repository at this point in the history
  • Loading branch information
apteryxxyz committed Oct 20, 2024
1 parent 5d43f99 commit 6ab3069
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/create-carbon/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#! /usr/bin/env node

import * as p from "@clack/prompts"
import yoctoSpinner from "yocto-spinner"
import { type Runtime, runtimes } from "./runtimes.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-carbon/src/tools/templateProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ interface FrontMatter extends Record<string, string | undefined> {
export const processTemplate = async (
context: Omit<TemplateContext, "versions">
) => {
const templatePath = resolve(import.meta.dirname, "../../template")
const templatePath = resolve(import.meta.dirname, "../../../template")
debug("Processing template")
debug("Getting dependency versions")
const packageVersions = await getDependencyVersions()
Expand Down

0 comments on commit 6ab3069

Please sign in to comment.