File tree Expand file tree Collapse file tree
KeeperSdk/src/pam/rotation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,9 +112,7 @@ export async function addRotationScript(
112112 }
113113 }
114114
115- const scriptField = dataFields . find (
116- ( field ) => field . type === SCRIPT_FIELD_TYPE && Array . isArray ( field . value )
117- )
115+ const scriptField = dataFields . find ( ( field ) => field . type === SCRIPT_FIELD_TYPE && Array . isArray ( field . value ) )
118116 if ( scriptField ) {
119117 scriptField . label = SCRIPT_FIELD_LABEL
120118 scriptField . required = false
Original file line number Diff line number Diff line change @@ -101,9 +101,7 @@ export function formatRotationSchedulesTable(
101101 options : FormatRotationSchedulesTableOptions = { }
102102) : FormattedRotationSchedulesTable {
103103 const verbose = options . verbose === true
104- const headers : string [ ] = verbose
105- ? [ ...ROTATION_LIST_VERBOSE_HEADERS ]
106- : [ ...ROTATION_LIST_DEFAULT_HEADERS ]
104+ const headers : string [ ] = verbose ? [ ...ROTATION_LIST_VERBOSE_HEADERS ] : [ ...ROTATION_LIST_DEFAULT_HEADERS ]
107105
108106 const rows = result . rotations . map ( ( rotation ) => {
109107 if ( verbose ) {
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ import type { KeeperHttpResponse } from '../commands'
1616// `form-data` uses CommonJS `export =`. Depending on the consumer/build target,
1717// a namespace import may expose the constructor as either the module itself or
1818// its `default` property.
19- const FormData =
20- ( FormDataModule as unknown as { default ?: typeof FormDataModule } ) . default || FormDataModule
19+ const FormData = ( FormDataModule as unknown as { default ?: typeof FormDataModule } ) . default || FormDataModule
2120
2221const base64ToBytes = ( data : string ) : Uint8Array => {
2322 return Buffer . from ( data , 'base64' )
You can’t perform that action at this time.
0 commit comments