Skip to content

Commit 6f897e1

Browse files
author
Vladimir Enchev
committed
SHA updated
1 parent 974a6df commit 6f897e1

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

lib/services/platform-service.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,8 @@ export class PlatformService implements IPlatformService {
268268
sourceFiles = sourceFiles.filter(source => !minimatch(source, `**/${constants.TNS_MODULES_FOLDER_NAME}/**`, { nocase: true }));
269269
}
270270

271-
// Verify .xml files are well-formed. If not valid stop the transfer.
272-
if(!this.$xmlValidator.validateXmlFiles(sourceFiles).wait()){
273-
this.$errors.failWithoutHelp("Invalid or not well-formed XML files detected!");
274-
return false;
275-
}
271+
// verify .xml files are well-formed
272+
this.$xmlValidator.validateXmlFiles(sourceFiles).wait();
276273

277274
// Remove .ts and .js.map files
278275
constants.LIVESYNC_EXCLUDED_FILE_PATTERNS.forEach(pattern => sourceFiles = sourceFiles.filter(file => !minimatch(file, pattern, { nocase: true })));
@@ -714,4 +711,4 @@ export class PlatformService implements IPlatformService {
714711
}).future<void>()();
715712
}
716713
}
717-
$injector.register("platformService", PlatformService);
714+
$injector.register("platformService", PlatformService);

test/ios-project-service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function createTestInjector(projectPath: string, projectName: string): IInjector
8282
testInjector.register("xcprojService", {});
8383
testInjector.register("pluginVariablesService", PluginVariablesService);
8484
testInjector.register("pluginVariablesHelper", PluginVariablesHelper);
85+
testInjector.register("androidProcessService", {});
8586
return testInjector;
8687
}
8788

test/platform-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,4 +348,4 @@ describe('Platform Service Tests', () => {
348348
assert.isFalse(warnings.indexOf("has errors") !== -1);
349349
});
350350
});
351-
});
351+
});

0 commit comments

Comments
 (0)