Skip to content

Commit 236ec34

Browse files
authored
Merge pull request #4823 from NativeScript/fix/fix-cloud-deploy
fix: add skipNativePrepare to buildData
2 parents fb99829 + 2dba883 commit 236ec34

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/helpers/deploy-command-helper.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ export class DeployCommandHelper {
3232
projectDir: this.$projectData.projectDir
3333
});
3434

35-
const buildData = this.$buildDataService.getBuildData(this.$projectData.projectDir, d.deviceInfo.platform, { ...this.$options.argv, outputPath, buildForDevice: !d.isEmulator, skipWatcher: !this.$options.watch });
35+
const buildData = this.$buildDataService.getBuildData(this.$projectData.projectDir, d.deviceInfo.platform,
36+
{
37+
...this.$options.argv,
38+
outputPath,
39+
buildForDevice: !d.isEmulator,
40+
skipWatcher: !this.$options.watch,
41+
nativePrepare: { skipNativePrepare: additionalOptions && additionalOptions.skipNativePrepare }
42+
});
3643

3744
const buildAction = additionalOptions && additionalOptions.buildPlatform ?
3845
additionalOptions.buildPlatform.bind(additionalOptions.buildPlatform, d.deviceInfo.platform, buildData, this.$projectData) :

0 commit comments

Comments
 (0)