Removed console log.

This commit is contained in:
Alberto Miranda
2018-04-26 15:04:23 -03:00
parent cf729b0d31
commit 21edc05f19

View File

@@ -461,7 +461,6 @@ function onOpen (files) {
// File API seems to transform "magnet:?foo" in "magnet:///?foo"
// this is a sanitization
console.log('------------- FILES', files)
files = files.map(file => {
if (typeof file !== 'string') return file
return file.replace(/^magnet:\/+\?/i, 'magnet:?')