-
Notifications
You must be signed in to change notification settings - Fork 43
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
base: master
Are you sure you want to change the base?
Ahora si PR #45
Conversation
|
||
|
||
function getoString() { | ||
|
There was a problem hiding this comment.
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') |
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
No description provided.