File tree Expand file tree Collapse file tree
custom-objects-importer/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,9 +123,8 @@ export default class CustomObjectsImporter {
123123 )
124124 const {
125125 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
129128 } = await this . client . execute ( existingObjectsRequest )
130129
131130 const requestsList = batches . map (
Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ export default class ProductJsonToCsv {
409409 .then((resolvedCategory: Object): Promise<Category> =>
410410 getParent(resolvedCategory[0])
411411 )
412- // $FlowFixMe: incompatible returns
412+ // $FlowFixMe[ incompatible-return]
413413 .then((parent: Object): Promise<Category> => ({ ...cat, parent }))
414414 )
415415 }
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export default class TokenProvider {
145145 if ( this . tokenInfo && ! TokenProvider . _isTokenExpired ( this . tokenInfo ) )
146146 return Promise . resolve ( this . tokenInfo )
147147
148- // $FlowFixMe - _refreshToken method will fetch new tokenInfo if not provided
148+ // $FlowFixMe[incompatible-call]: _refreshToken method will fetch new tokenInfo if not provided
149149 return this . _refreshToken ( this . tokenInfo )
150150 }
151151
You can’t perform that action at this time.
0 commit comments