mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-15 15:29:22 +00:00
Merge branch 'master' of https://github.com/cincheo/jsweet.git
This commit is contained in:
commit
c325cc77b0
@ -544,7 +544,7 @@ public class JSweetTranspiler implements JSweetOptions {
|
|||||||
if (tscVersionFile.exists()) {
|
if (tscVersionFile.exists()) {
|
||||||
v = FileUtils.readFileToString(tscVersionFile);
|
v = FileUtils.readFileToString(tscVersionFile);
|
||||||
}
|
}
|
||||||
if (!ProcessUtil.isInstalledWithNpm("tsc") || !TSC_VERSION.equals(v.trim())) {
|
if (!ProcessUtil.isInstalledWithNpm("tsc") || !v.trim().startsWith(TSC_VERSION)) {
|
||||||
// this will lead to performances issues if having multiple versions
|
// this will lead to performances issues if having multiple versions
|
||||||
// of JSweet installed
|
// of JSweet installed
|
||||||
if (ProcessUtil.isInstalledWithNpm("tsc")) {
|
if (ProcessUtil.isInstalledWithNpm("tsc")) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user