Remove unnecessary check

Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
This commit is contained in:
kikuchan
2021-04-07 23:42:03 +09:00
committed by GitHub
parent 15a8eb864a
commit 0269c920fc

View File

@@ -817,7 +817,7 @@ class WKB extends FeatureFormat {
);
const buffer = writer.getBuffer();
return this.hex !== false ? encodeHexString(buffer) : buffer;
return this.hex ? encodeHexString(buffer) : buffer;
}
}