Skip to content

Commit 42e30c1

Browse files
committed
patch
1 parent bcd7ef9 commit 42e30c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/create-collection.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ for (const collectionId of schema.collections.map(({ $id }) => $id)) {
6363
}
6464
};
6565

66-
if (!(await hasCollection())) {
66+
if (await hasCollection()) {
6767
console.log(`Found collection id=${collectionId} name=${name}`);
6868
} else {
6969
console.log(`Creating collection id=${collectionId} name=${name}`);

0 commit comments

Comments
 (0)