Skip to content

Commit 2dba883

Browse files
committed
fix: add skipNativePrepare to buildData
1 parent fb99829 commit 2dba883

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)