JS: move processing metaInfo to TranslationResult

This commit is contained in:
Michael Nedzelsky
2015-03-25 14:57:28 +03:00
parent dbe59190ed
commit 5a73bd19c5
5 changed files with 28 additions and 22 deletions
@@ -192,10 +192,6 @@ public class K2JSCompiler extends CLICompiler<K2JSCompilerArguments> {
}
OutputUtilsPackage.writeAll(outputFiles, outputDir, messageCollector);
if (arguments.metaInfo != null) {
new KotlinJavaScriptSerializer().serialize(config.getModuleId(), analysisResult.getModuleDescriptor(), new File(arguments.metaInfo));
}
return OK;
}