Skip to content

Commit

Permalink
fix npm calcul
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc committed Feb 17, 2022
1 parent 01edf7c commit 768a7bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/class/system.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,11 @@ public static function getInstallPackage($_type) {
'version' => $datas['dependencies']['yarn']['version']
);
}
foreach ($datas['dependencies'] as $key => $value) {
self::$_installPackage[$_type][mb_strtolower($key)] = array(
'version' => $value['version']
);
}
foreach ($datas['dependencies']['npm']['dependencies'] as $key => $value) {
self::$_installPackage[$_type][mb_strtolower($key)] = array(
'version' => $value['version']
Expand Down

0 comments on commit 768a7bb

Please sign in to comment.