Skip to content

Commit

Permalink
remove useless check
Browse files Browse the repository at this point in the history
  • Loading branch information
dherman committed May 13, 2024
1 parent 928af69 commit 78c14ce
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions pkgs/create-neon/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,13 @@ export async function createNeon(name: string, options: CreateNeonOptions) {
);
}

if (metadata.package) {
if (packageSpec.library && packageSpec.library.ci) {
packageSpec.library.ci.setup();
}
if (packageSpec.library && packageSpec.library.ci) {
packageSpec.library.ci.setup();
}

for (const source of Object.keys(options.templates)) {
const target = path.join(tmpPackagePath, options.templates[source]);
await expandTo(source, target, metadata);
}
for (const source of Object.keys(options.templates)) {
const target = path.join(tmpPackagePath, options.templates[source]);
await expandTo(source, target, metadata);
}

if (packageSpec.library) {
Expand Down

0 comments on commit 78c14ce

Please sign in to comment.