Commit c6aff369 authored by Medicean's avatar Medicean

fix #93

parent a9d31bbc
...@@ -161,7 +161,7 @@ class Terminal { ...@@ -161,7 +161,7 @@ class Terminal {
).then((ret) => { ).then((ret) => {
let _ = ret['text']; let _ = ret['text'];
// 解析出命令执行路径 // 解析出命令执行路径
const indexS = _.indexOf('[S]'); const indexS = _.lastIndexOf('[S]');
const indexE = _.lastIndexOf('[E]'); const indexE = _.lastIndexOf('[E]');
let _path = _.substr(indexS + 3, indexE - indexS - 3); let _path = _.substr(indexS + 3, indexE - indexS - 3);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment