Skip to content

Commit 0ea5d07

Browse files
Make IAutoCompletionService.disableAutoCompletion and IProjectFilesManager.processPlatformSpecificFiles sync
1 parent 9373722 commit 0ea5d07

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/services/livesync/platform-livesync-service-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export abstract class PlatformLiveSyncServiceBase implements IPlatformLiveSyncSe
116116
if (canTransferDirectory) {
117117
let tempDir = temp.mkdirSync("tempDir");
118118
shell.cp("-Rf", path.join(projectFilesPath, "*"), tempDir);
119-
this.$projectFilesManager.processPlatformSpecificFiles(tempDir, deviceAppData.platform).wait();
119+
this.$projectFilesManager.processPlatformSpecificFiles(tempDir, deviceAppData.platform);
120120
deviceAppData.device.fileSystem.transferDirectory(deviceAppData, localToDevicePaths, tempDir).wait();
121121
} else {
122122
this.$liveSyncProvider.transferFiles(deviceAppData, localToDevicePaths, projectFilesPath, isFullSync).wait();

lib/services/platform-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export class PlatformService implements IPlatformService {
248248
if (!changeInfo.modulesChanged) {
249249
excludedDirs.push(constants.TNS_MODULES_FOLDER_NAME);
250250
}
251-
this.$projectFilesManager.processPlatformSpecificFiles(directoryPath, platform, excludedDirs).wait();
251+
this.$projectFilesManager.processPlatformSpecificFiles(directoryPath, platform, excludedDirs);
252252

253253
if (changeInfo.configChanged || changeInfo.modulesChanged) {
254254
this.applyBaseConfigOption(platformData).wait();

lib/services/plugins-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class PluginsService implements IPluginsService {
143143
}
144144

145145
//prepare platform speciffic files, .map and .ts files
146-
this.$projectFilesManager.processPlatformSpecificFiles(pluginScriptsDestinationPath, platform).wait();
146+
this.$projectFilesManager.processPlatformSpecificFiles(pluginScriptsDestinationPath, platform);
147147
}
148148

149149
private preparePluginNativeCode(pluginData: IPluginData, platform: string): void {

0 commit comments

Comments
 (0)