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 11name : ' 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 :
108
119env :
1210 CACHED_DEPENDENCY_PATHS : |
Original file line number Diff line number Diff line change @@ -53,10 +53,6 @@ export function consoleSandbox(callback: () => any): any {
5353 return result ;
5454}
5555
56- function when ( predicate : boolean , callback : ( ) => any ) {
57- return predicate ? callback ( ) : undefined ;
58- }
59-
6056/** JSDoc */
6157class Logger {
6258 /** JSDoc */
Original file line number Diff line number Diff line change @@ -86,10 +86,9 @@ export function getOriginalFunction(func: WrappedFunction): WrappedFunction | un
8686 * @returns string Encoded
8787 */
8888export 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 ( '&' ) ;
9392}
9493
9594/**
You can’t perform that action at this time.
0 commit comments