mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
1328307bb8
commit
d0a41d974a
@@ -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));
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user