@anzusystems/common-admin 1.47.0-beta.dev-1775683300 → 1.47.0-beta.dev-1775683500

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -218,9 +218,10 @@ const anzuPlugin = {
218
218
  normalizedFilename.endsWith(rulePath + '.ts') ||
219
219
  normalizedFilename.endsWith(rulePath + '.js') ||
220
220
  normalizedFilename.endsWith(rulePath + '.vue') ||
221
- normalizedFilename.endsWith(rulePath)
221
+ normalizedFilename.endsWith(rulePath),
222
222
  )
223
- ) return
223
+ )
224
+ return
224
225
 
225
226
  const source = node.source.value
226
227
  if (typeof source !== 'string') return
@@ -270,21 +271,21 @@ const anzuPlugin = {
270
271
  parts.unshift(current)
271
272
 
272
273
  const hasFatalCheck = parts.some(
273
- (part) => part.type === 'CallExpression' && part.callee.name === 'isAnzuFatalError'
274
+ (part) => part.type === 'CallExpression' && part.callee.name === 'isAnzuFatalError',
274
275
  )
275
276
  const hasInstanceofErrorCheck = parts.some(
276
277
  (part) =>
277
278
  part.type === 'BinaryExpression' &&
278
279
  part.operator === 'instanceof' &&
279
280
  part.right.type === 'Identifier' &&
280
- part.right.name === 'Error'
281
+ part.right.name === 'Error',
281
282
  )
282
283
  const hasAxiosCheck = parts.some(
283
284
  (part) =>
284
285
  part.type === 'CallExpression' &&
285
286
  part.callee.type === 'MemberExpression' &&
286
287
  part.callee.object.name === 'axios' &&
287
- part.callee.property.name === 'isAxiosError'
288
+ part.callee.property.name === 'isAxiosError',
288
289
  )
289
290
 
290
291
  if (hasAxiosCheck && (hasFatalCheck || hasInstanceofErrorCheck)) {