Skip to content

Commit

Permalink
adapt process regexp (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Aug 1, 2020
1 parent 9ccaa72 commit 2172f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon_files/redmatic/www/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ $(document).ready(() => {
return;
}
let match;
match = line.match(/([0-9]+[a-z]?)\s+([0-9]+[a-z]?)\s+node-red\s+node-red/);
match = line.match(/([0-9]+[a-z]?)\s+([0-9]+[a-z]?)\s+node\s+node-red/);
if (match) {
let [, vsz, rss] = match;
vsz = vsz.replace('m', 'MB').replace('g', 'GB');
Expand Down

0 comments on commit 2172f8d

Please sign in to comment.