Closed cookieguru closed 8 months ago
Whoops, sorry about that. Forgot to change that when opening the PR. There's a setting where you can change the default branch
Oh, I didn't know that was possible. Thanks for the link!
:tada: This PR is included in version 1.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
When a file's GPS EXIF data does not decode properly exifr returns an object with
latitude
andlongitude
properties that are bothNaN
:Since the code only checks for
null
, both values are stored. Later, this object is passed to other methods that expect them to be numbers.This commit eschews the null checks for simple truthy checks since neither
NaN
nornull
are truthy.