chore: remove travis fold utility (#4132)

Removes the Travis CI fold utility file. The file isn't used in our CI
process and is therefore unnecessary.
This commit is contained in:
Paul Gschwendtner
2017-04-18 18:25:57 +02:00
committed by Jeremy Elbourn
parent 1328307bb8
commit d0a41d974a
-16
View File
@@ -1,16 +0,0 @@
function encode(str: string) {
return str.replace(/\W/g, '-').replace(/-$/, '');
}
export function travisFoldStart(name: string): () => void {
if (process.env['TRAVIS']) {
console.log('travis_fold:start:' + encode(name));
}
return () => {
if (process.env['TRAVIS']) {
console.log('travis_fold:end:' + encode(name));
}
};
}