Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Ignore file dependencies when checking mismatches. #1185

Merged
merged 2 commits into from
May 1, 2018
Merged

Conversation

threehams
Copy link
Collaborator

This prevents the "would you like to update your dependencies" dialog when developing Gluestick locally.

This prevents the "would you like to update your dependencies" dialog
when developing Gluestick locally.
Remove unused "replaceFile" function
* @param {String} name the name of the file
* @param {String} data the data for the new file
*/
const replaceFile = (logger: Logger, name: string, data: string): void => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like replaceFile just wasn't used anywhere hm?

const project = projectPackage.devDependencies[dep];
const template = templatePackage.devDependencies[dep];

if (isMismatched(project, template)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This reads a lot nicer 👍

@threehams threehams merged commit aa595f9 into develop May 1, 2018
@threehams threehams deleted the task/LO-4553 branch May 1, 2018 18:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants