不要になったnullチェックを削除

This commit is contained in:
takejohn 2024-03-30 15:06:17 +09:00
parent f2bb7ce3f2
commit 422fddafa4

View file

@ -455,10 +455,6 @@ export default class 藍 {
@bindThis @bindThis
public getMeta() { public getMeta() {
if (this.meta == null) {
throw new TypeError('meta has not been set');
}
const rec = this.meta.findOne(); const rec = this.meta.findOne();
if (rec) { if (rec) {