Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ahora si PR #45

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Ahora si PR #45

wants to merge 11 commits into from

Conversation

abigail-sanlo
Copy link

No description provided.



function getoString() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

El nombre de tu función no es tan descriptivo, te recomiendo cambiarlo a algo como readFile

let index = process.argv.indexOf("--file")
if (index < 0) return console.log("You need to use a valid uri flag --file")
let uri = process.argv[index + 1]
let string = fs.readFileSync(uri, 'utf8')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lo miso aqui, quizá pondría algo como text ya que es el resultado de toda tu lectura.

Copy link

@AdrianaHY AdrianaHY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Abi, haz avanzado muchísimo y tu trabajo y tu código están muy bien! procura ser más cuidadosa con los nombres de variables y funciones así como en tus buenas prácticas. Falta testing de cada una de tus funciones, por favor intenta trabajar en ello.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants