mirror of
https://github.com/lovasoa/whitebophir
synced 2024-09-20 06:12:00 +00:00
Added return error message again
This commit is contained in:
parent
a3ea244ee2
commit
ff2d1ec7f6
2 changed files with 2 additions and 1 deletions
|
@ -31,5 +31,6 @@ module.exports = {
|
|||
semi: ["error", "always"],
|
||||
"no-cond-assign": ["error", "always"],
|
||||
curly: "error",
|
||||
"no-unsafe-finally": "off",
|
||||
},
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@ async function get_error(directory) {
|
|||
"Check the permissions of the directory, and if needed change them so that " +
|
||||
`user with UID ${uid} has access to them. This can be achieved by running the command: chown ${uid}:${gid} on the directory`;
|
||||
} finally {
|
||||
console.log(err_msg);
|
||||
return err_msg;
|
||||
}
|
||||
}
|
||||
const fileChecks = [];
|
||||
|
|
Loading…
Reference in a new issue