Skip to content

Commit

Permalink
Ajustando display e removendo header.js
Browse files Browse the repository at this point in the history
  • Loading branch information
eltonsandre committed Jun 27, 2023
1 parent 446e69d commit b2d67ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
4 changes: 3 additions & 1 deletion src/gerador/email.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const RandomUtils = require('../utils/RandomUtils');

module.exports = {
name: 'gerarEmail',
displayName: 'email',
displayName: 'Email',
description: 'Gera um e-mail aleatório seguido por paramentros',
args: [
{
Expand Down Expand Up @@ -43,7 +43,9 @@ module.exports = {
},

],

async run(context, prefixo, random, de, ate, sufixo, dominio) {
return `${prefixo}${random ? RandomUtils.getRandomInt(de, ate) : ""}${sufixo}@${dominio}`;
}

}
2 changes: 1 addition & 1 deletion src/gerador/nome.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const NOMES_MASCULINO = [

module.exports = {
name: 'gerarNome',
displayName: 'nome',
displayName: 'Nome completo',
description: 'Gera um nome aleatório seguido por paramentros',
args: [
{
Expand Down
18 changes: 0 additions & 18 deletions src/headers.js

This file was deleted.

0 comments on commit b2d67ff

Please sign in to comment.