Skip to content

Commit 62be585

Browse files
committed
remove process.env check
1 parent 4f016ea commit 62be585

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/hypergraph/src/entity/find-one-public.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ const parseResult = <S extends Schema.Schema.AnyNoContext>(queryData: EntityQuer
269269
return { ...decodeResult.right } as Entity.Entity<S>;
270270
}
271271

272-
if (process.env.NODE_ENV !== 'production') {
273-
console.warn('Invalid entity', rawEntity);
274-
}
272+
// if (process.env.NODE_ENV !== 'production') {
273+
console.warn('Invalid entity', rawEntity);
274+
// }
275275
throw new Error('Invalid entity');
276276
};
277277

0 commit comments

Comments
 (0)