Browse Source

fix travis fold

Daniel Zlotin 8 years ago
parent
commit
b39b493f45
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      scripts/travis.sh

+ 3
- 2
scripts/travis.sh View File

2
 
2
 
3
 run_f () {
3
 run_f () {
4
   cmd="${1}"
4
   cmd="${1}"
5
+  name=${cmd//[ ]/_}
5
 
6
 
6
-  echo "travis_fold:start:$cmd"
7
+  echo "travis_fold:start:$name"
7
   ($cmd)
8
   ($cmd)
8
-  echo "travis_fold:end:$cmd"
9
+  echo "travis_fold:end:$name"
9
 }
10
 }
10
 
11
 
11
 run_f "yarn install"
12
 run_f "yarn install"