Skip to content

Commit

Permalink
Remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
ericanderson committed Jul 11, 2024
1 parent fc29b3c commit 08244ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions packages/create-app/src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export async function run(

consola.info(`Copying files into project directory`);

// if (template.q) {
const files: Map<
string,
{ type: "base64"; body: string } | { type: "raw"; body: string }
Expand All @@ -99,18 +98,6 @@ export async function run(
),
);
}
// } else {
// const templatesDir = findUpSync("templates", {
// cwd: path.dirname(fileURLToPath(import.meta.url)),
// type: "directory",
// });
// if (templatesDir == null) {
// throw new Error(`Could not find templates directory`);
// }
// const templateDir = path.resolve(templatesDir, template.id);

// fs.cpSync(templateDir, root, { recursive: true });
// }

const templateContext: TemplateContext = {
project,
Expand Down
1 change: 0 additions & 1 deletion packages/create-app/src/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

export interface Template {
id: string;
q?: string;
label: string;
envPrefix: string;
buildDirectory: string;
Expand Down

0 comments on commit 08244ad

Please sign in to comment.