File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,8 @@ class AclRoleAccessorMethods {
303
303
const isPrefix = entity . charAt ( entity . length - 1 ) === '-' ;
304
304
305
305
accessMethods . forEach ( accessMethod => {
306
- let method = accessMethod + entity [ 0 ] . toUpperCase ( ) + entity . substr ( 1 ) ;
306
+ let method =
307
+ accessMethod + entity [ 0 ] . toUpperCase ( ) + entity . substring ( 1 ) ;
307
308
308
309
if ( isPrefix ) {
309
310
method = method . replace ( '-' , '' ) ;
Original file line number Diff line number Diff line change @@ -1465,8 +1465,8 @@ class File extends ServiceObject<File> {
1465
1465
. split ( ',' )
1466
1466
. forEach ( ( hashKeyValPair : string ) => {
1467
1467
const delimiterIndex = hashKeyValPair . indexOf ( '=' ) ;
1468
- const hashType = hashKeyValPair . substr ( 0 , delimiterIndex ) ;
1469
- const hashValue = hashKeyValPair . substr ( delimiterIndex + 1 ) ;
1468
+ const hashType = hashKeyValPair . substring ( 0 , delimiterIndex ) ;
1469
+ const hashValue = hashKeyValPair . substring ( delimiterIndex + 1 ) ;
1470
1470
hashes [ hashType as 'crc32c' | 'md5' ] = hashValue ;
1471
1471
} ) ;
1472
1472
}
You can’t perform that action at this time.
0 commit comments