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

fix(package): inicializo variable attempts antes de ejecutar el metod… #5

Merged
merged 1 commit into from
Mar 11, 2016

Conversation

VictorJSV
Copy link
Collaborator

El problema consistía que al ejecutar el versionado, en algunos casos no terminaba de compilar.

Investigando encontré que en la función Execute.prototype.readFile del archivo execute.js, se ejecuta un while donde aumentaba la variable this.attempts++ y este mismo arrojó como valor NaN, debido a que no se inicializó antes.

Por ello inicializo la variable con cero para poder ejecutar correctamente la función.
this.attempts = 0; en la función Execute.prototype.runCommand

jansanchez added a commit that referenced this pull request Mar 11, 2016
fix(package): inicializo variable attempts antes de ejecutar el metod…
@jansanchez jansanchez merged commit ea61380 into jansanchez:master Mar 11, 2016
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