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

cleanup internal updatePlatformInFile function in templates/index.js #64

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

brodycj
Copy link
Owner

@brodycj brodycj commented Jul 25, 2019

in templates/index.js

  • add a line break
  • do not overwrite object from another module in Object.assign() call, as such an overwrite is not needed and is not good form

Testing done:

  • npm test (equivalent to yarn test) succeeds in my work area
  • verified that the Travis CI build is green

Note that I think there is no need to do manual integration testing of the CLI, as the existing tests verify that changes to templates/*.js do not break anything.

Discovered while working on some cleanup related to evaluating use of my prettierx fork of Prettier (#5).

in templates/index.js

* line break

* do not overwrite object from another module in Object.assign() call
  as such an overwrite is not needed and is not good form
@brodycj brodycj merged commit d6bef55 into dev Jul 25, 2019
@brodycj brodycj deleted the cleanup-internal-function-in-templates branch July 25, 2019 03:13
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