FIX linting errors
This commit is contained in:
parent
6e25859f7b
commit
d31a08f18d
@ -29,7 +29,9 @@ const Server = {
|
||||
*/
|
||||
kill: function() {
|
||||
request.get('http://localhost:' + Config.port + '/kill')
|
||||
.catch(error => false);
|
||||
.catch(error => {
|
||||
if (error) return false;
|
||||
});
|
||||
},
|
||||
/**
|
||||
* sets route of express app
|
||||
|
||||
@ -45,7 +45,7 @@ const StyleCompiler = {
|
||||
await Util.writeFile(stylePath, styleMinified.styles);
|
||||
|
||||
const directories = Util.getResumesFromDirectories();
|
||||
const contents = await Promise.all(
|
||||
await Promise.all(
|
||||
directories
|
||||
.map(async(resume) => {
|
||||
const resumeLess = await Util.readFileContent(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user