Skip to content

Conversation

@kytta
Copy link

@kytta kytta commented Nov 15, 2019

I figured that file is being written twice, if both script and link match the string. I think there was just a mistake and you meant to move the writeFileSync part outside of the loop (judging by the fact that shouldUpdate is also outside of the loop)

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.

1 participant