jps, js: Fix exception on rebuild js module

This commit is contained in:
Sergey Rostov
2018-06-04 15:05:55 +03:00
parent d75a2be31b
commit 5478a552ed
3 changed files with 14 additions and 7 deletions
@@ -41,6 +41,8 @@ open class IncrementalJsCache(cachesDir: File) : AbstractIncrementalCache<FqName
private val TRANSLATION_RESULT_MAP = "translation-result"
private val INLINE_FUNCTIONS = "inline-functions"
private val HEADER_FILE_NAME = "header.meta"
fun hasHeaderFile(cachesDir: File) = File(cachesDir, HEADER_FILE_NAME).exists()
}
override val sourceToClassesMap = registerMap(SourceToFqNameMap(SOURCE_TO_CLASSES.storageFile))