Merge pull request #82 from utopia-os/reorganize-map-and-layer

fix(source): removed some logging
This commit is contained in:
antontranelis 2025-01-29 14:24:23 +00:00 committed by GitHub
commit b0e952c4df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,4 @@
export function containsUUID(str: string): boolean {
const uuidRegex = /[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i
// eslint-disable-next-line no-console
uuidRegex.test(str) && console.log('contains UUID')
return uuidRegex.test(str)
}