hola-server 0.8.7 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/bash.js +1 -1
- package/package.json +1 -1
package/core/bash.js
CHANGED
|
@@ -6,7 +6,7 @@ const { is_log_debug, is_log_error, log_debug, log_error } = require('../db/db')
|
|
|
6
6
|
const LOG_BASH = "bash";
|
|
7
7
|
|
|
8
8
|
const get_log_file = async () => {
|
|
9
|
-
const home = await
|
|
9
|
+
const home = await run_simple_local_cmd("echo ~");
|
|
10
10
|
const log_dir = `${home}/.hola/ssh`;
|
|
11
11
|
await run_local_cmd(`mkdir -p ${log_dir}`);
|
|
12
12
|
return `${log_dir}/l_${random_code()}.log`;
|