Added return error message again

This commit is contained in:
bhavik001 2023-12-11 16:41:09 -05:00
parent a3ea244ee2
commit ff2d1ec7f6
2 changed files with 2 additions and 1 deletions

View file

@ -31,5 +31,6 @@ module.exports = {
semi: ["error", "always"],
"no-cond-assign": ["error", "always"],
curly: "error",
"no-unsafe-finally": "off",
},
};

View file

@ -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 = [];