Skip to content

Commit

Permalink
Don't clean at all -- turns out template-lint is the only thing that …
Browse files Browse the repository at this point in the history
…uses this data
  • Loading branch information
NullVoxPopuli committed Nov 22, 2024
1 parent 1859807 commit 2dd183c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/layout-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,7 @@ export function getDepIfExists(pack: PackageInfo, depName: string): string | nul

const version: string = pack?.dependencies?.[depName] ?? pack?.devDependencies?.[depName] ?? pack?.peerDependencies?.[depName] ?? '';

const cleanVersion = clean(version);

return valid(coerce(cleanVersion));
return version;
}

export async function isGlimmerXProject(root: string) {
Expand Down

0 comments on commit 2dd183c

Please sign in to comment.