File tree Expand file tree Collapse file tree 3 files changed +9
-16
lines changed Expand file tree Collapse file tree 3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 1
1
name : ' Build & Test'
2
-
3
- on : [push, pull_request]
4
- # on:
5
- # push:
6
- # branches:
7
- # - master
8
- # - release/**
9
- # pull_request:
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ - release/**
7
+ pull_request :
10
8
11
9
env :
12
10
CACHED_DEPENDENCY_PATHS : |
Original file line number Diff line number Diff line change @@ -53,10 +53,6 @@ export function consoleSandbox(callback: () => any): any {
53
53
return result ;
54
54
}
55
55
56
- function when ( predicate : boolean , callback : ( ) => any ) {
57
- return predicate ? callback ( ) : undefined ;
58
- }
59
-
60
56
/** JSDoc */
61
57
class Logger {
62
58
/** JSDoc */
Original file line number Diff line number Diff line change @@ -86,10 +86,9 @@ export function getOriginalFunction(func: WrappedFunction): WrappedFunction | un
86
86
* @returns string Encoded
87
87
*/
88
88
export function urlEncode ( object : { [ key : string ] : any } ) : string {
89
- return new URLSearchParams ( object ) . toString ( ) ;
90
- // return Object.keys(object)
91
- // .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`)
92
- // .join('&');
89
+ return Object . keys ( object )
90
+ . map ( key => `${ encodeURIComponent ( key ) } =${ encodeURIComponent ( object [ key ] ) } ` )
91
+ . join ( '&' ) ;
93
92
}
94
93
95
94
/**
You can’t perform that action at this time.
0 commit comments