Skip to content

Commit 954189b

Browse files
authored
Merge pull request #5130 from NativeScript/release-patch
chore: merge release-patch in release
2 parents dc65d52 + 7f2933b commit 954189b

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

lib/controllers/migrate-controller.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,14 @@ Running this command will ${MigrateController.COMMON_MIGRATE_MESSAGE}`;
163163
const cachedResult = await this.getCachedShouldMigrate(projectDir, platform);
164164
if (cachedResult !== false) {
165165
remainingPlatforms.push(platform);
166+
} else {
167+
this.$logger.trace(`Got cached result for shouldMigrate for platform: ${platform}`);
166168
}
167169
}
168170

169171
if (remainingPlatforms.length > 0) {
170172
shouldMigrate = await this._shouldMigrate({ projectDir, platforms: remainingPlatforms, allowInvalidVersions });
173+
this.$logger.trace(`Executed shouldMigrate for platforms: ${remainingPlatforms}. Result is: ${shouldMigrate}`);
171174

172175
if (!shouldMigrate) {
173176
for (const remainingPlatform of remainingPlatforms) {

lib/services/webpack/webpack-compiler-service.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ export class WebpackCompilerService extends EventEmitter implements IWebpackComp
4646
return;
4747
}
4848

49+
// the hash of the compilation is the same as the previous one
50+
if (this.expectedHashes[platformData.platformNameLowerCase] === message.hash) {
51+
return;
52+
}
53+
4954
let result;
5055

5156
if (prepareData.hmr) {

npm-shrinkwrap.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nativescript",
33
"preferGlobal": true,
4-
"version": "6.2.0",
4+
"version": "6.2.1",
55
"author": "Telerik <support@telerik.com>",
66
"description": "Command-line interface for building NativeScript projects",
77
"bin": {

0 commit comments

Comments
 (0)