Linter stuff
This commit is contained in:
parent
0d2d36251a
commit
95c0c4d6d3
@ -381,7 +381,7 @@ function authenticate(config: IConfig, done: (err: Error) => void)
|
|||||||
{
|
{
|
||||||
return done(AuthError('Can\'t find token!'));
|
return done(AuthError('Can\'t find token!'));
|
||||||
}
|
}
|
||||||
console.log("Token: " + token);
|
console.log('Token: ' + token);
|
||||||
/* Now call the page again with the token and credentials */
|
/* Now call the page again with the token and credentials */
|
||||||
const options =
|
const options =
|
||||||
{
|
{
|
||||||
|
|||||||
@ -198,7 +198,7 @@ function pageScrape(config: IConfig, task: IConfigTask, done: (err: any, result?
|
|||||||
}
|
}
|
||||||
|
|
||||||
const $ = cheerio.load(result);
|
const $ = cheerio.load(result);
|
||||||
const title = $('meta[itemprop=name]').attr("content")
|
const title = $('meta[itemprop=name]').attr('content');
|
||||||
|
|
||||||
if (config.debug)
|
if (config.debug)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user