FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: cache shouldMigrate result by KristianDD · Pull Request #5074 · NativeScript/nativescript-cli · GitHub

feat: cache shouldMigrate result - #5074

Merged
KristianDD merged 2 commits into
masterfrom
kddimitrov/cache-should-migrate
Oct 15, 2019
Merged

feat: cache shouldMigrate result#5074
KristianDD merged 2 commits into
masterfrom
kddimitrov/cache-should-migrate

Conversation

KristianDD commented Oct 14, 2019
edited by Fatme
Loading

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

Rel to #5096

cla-bot Bot added the cla: yes label Oct 14, 2019
Comment thread lib/controllers/migrate-controller.ts Outdated
private async getCachedShouldMigrate(projectDir: string, platform: string): Promise<boolean> {
let cachedShouldMigrateValue = null;

const cashedHash = await this.$jsonFileSettingsService.getSettingValue(getHash(`${projectDir}${platform.toLowerCase()}`));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

cashedHash -> cachedHash

Comment thread lib/controllers/migrate-controller.ts Outdated
let cachedShouldMigrateValue = null;

const cashedHash = await this.$jsonFileSettingsService.getSettingValue(getHash(`${projectDir}${platform.toLowerCase()}`));
const packageJsonShasum = await this.getPachageJsonHash(projectDir);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

packageJsonShasum -> packageJsonHash

Copy link
Copy Markdown
Contributor Author

test cli-smoke

KristianDD merged commit 3627814 into master Oct 15, 2019
KristianDD deleted the kddimitrov/cache-should-migrate branch October 15, 2019 06:59
Fatme added this to the 6.2.0 milestone Nov 1, 2019
Fatme added the feature label Nov 1, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL