Remove workaround for slashes in page title

This was reported in #22 and has been fixed upstream in electron-userland/electron-packager#308
This commit is contained in:
Goh Jia Hao 2018-06-10 10:51:09 -07:00
parent 49272d1a89
commit bd89f90a3d
1 changed files with 1 additions and 2 deletions

View File

@ -18,8 +18,7 @@ function inferTitle(url) {
const $ = cheerio.load(data);
return $('title')
.first()
.text()
.replace(/\//g, '');
.text();
});
}