Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanMartines committed Jan 30, 2023
1 parent 90f4c14 commit 443f462
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ yo('My-WhatsApp', {
//
// ------------------------------------------------------------------------------------------------//
//
if (!fs.existsSync(config.PATCH_TOKENS)){
fs.mkdirSync(config.PATCH_TOKENS);
}
//
fs.access(".env", fs.constants.F_OK, async (err) => {
if (err && err.code === 'ENOENT') {
logger.error('- Arquivo ".env"');
Expand Down

0 comments on commit 443f462

Please sign in to comment.