Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-07-08 22:34:02 +0300
committerStan Hu <stanhu@gmail.com>2019-07-08 22:34:07 +0300
commit724c1a12e252e7c89255e7b23b3c65eb06e0fe9d (patch)
tree5c17ffe44c98e463c61b95b8e0400f1db46762f9
parentf800d283b2199546d26c0743f9cbb6fdea380b78 (diff)
Convert buffer to string
-rw-r--r--spec/frontend/test_setup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/test_setup.js b/spec/frontend/test_setup.js
index 92e683eda48..2194fd3d15a 100644
--- a/spec/frontend/test_setup.js
+++ b/spec/frontend/test_setup.js
@@ -83,6 +83,6 @@ testUtilsConfig.logModifiedComponents = false;
beforeEach(() => {
const { execSync } = require('child_process');
console.log('free -m', execSync('free -m').toString());
- console.log('top memory consumers', execSync("sh -c 'ps aux | sort -nk +4 | tail - '"));
+ console.log('top memory consumers', execSync("sh -c 'ps aux | sort -nk +4 | tail - '").toString());
});