File tree 3 files changed +4
-5
lines changed
custom-objects-importer/src
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -123,9 +123,8 @@ export default class CustomObjectsImporter {
123
123
)
124
124
const {
125
125
body : { results : existingObjects } ,
126
- // skip below because of flow issue with async/await
127
- // todo: remove `FlowFixMe` when [this](https://github.com/facebook/flow/issues/5294) issue is fixed
128
- // $FlowFixMe
126
+ // TODO: remove `FlowFixMe` when [this](https://github.com/facebook/flow/issues/5294) issue is fixed
127
+ // $FlowFixMe[incompatible-call]: skip below because of flow issue with async/await
129
128
} = await this . client . execute ( existingObjectsRequest )
130
129
131
130
const requestsList = batches . map (
Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ export default class ProductJsonToCsv {
409
409
.then((resolvedCategory: Object): Promise<Category> =>
410
410
getParent(resolvedCategory[0])
411
411
)
412
- // $FlowFixMe: incompatible returns
412
+ // $FlowFixMe[ incompatible-return]
413
413
.then((parent: Object): Promise<Category> => ({ ...cat, parent }))
414
414
)
415
415
}
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export default class TokenProvider {
145
145
if ( this . tokenInfo && ! TokenProvider . _isTokenExpired ( this . tokenInfo ) )
146
146
return Promise . resolve ( this . tokenInfo )
147
147
148
- // $FlowFixMe - _refreshToken method will fetch new tokenInfo if not provided
148
+ // $FlowFixMe[incompatible-call]: _refreshToken method will fetch new tokenInfo if not provided
149
149
return this . _refreshToken ( this . tokenInfo )
150
150
}
151
151
You can’t perform that action at this time.
0 commit comments