style: 修复 pre-push Prettier 格式检查失败
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -16,10 +16,7 @@ import type { JsonObject } from '../../types/json.js'
|
||||
import type { OrderItemRow, OrderRow } from '../../types/repository/rows.js'
|
||||
import { createHttpError } from '../../utils/http.js'
|
||||
import { nowIso } from '../../utils/time.js'
|
||||
import {
|
||||
extractPddOutSkuSn,
|
||||
type PddRawOrderItem,
|
||||
} from '../platforms/pdd/pdd-order-mapper.js'
|
||||
import { extractPddOutSkuSn, type PddRawOrderItem } from '../platforms/pdd/pdd-order-mapper.js'
|
||||
import {
|
||||
normalizeDateString,
|
||||
normalizePage,
|
||||
@@ -267,9 +264,7 @@ export async function listAdminKuaishouMatchSources(payload: JsonObject = {}) {
|
||||
const relSkuId = normalizeKuaishouMatchId(
|
||||
ksc.relSkuId || outSkuSn || snapshot.spec || row.sku_code,
|
||||
)
|
||||
const skuNick = String(
|
||||
ksc.skuNick || outSkuSn || snapshot.spec || row.sku_name || '',
|
||||
).trim()
|
||||
const skuNick = String(ksc.skuNick || outSkuSn || snapshot.spec || row.sku_name || '').trim()
|
||||
|
||||
if (!sellerId || (!relItemId && !itemTitle)) continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user