소스 검색

chore: generate

opencode-agent[bot] 3 달 전
부모
커밋
04c46117b9
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      packages/console/function/src/log-processor.ts

+ 4 - 1
packages/console/function/src/log-processor.ts

@@ -171,7 +171,10 @@ function ipPrefix(ip: string | undefined) {
   const full = [...headParts, ...new Array(missing).fill("0"), ...tailParts]
   if (full.length !== 8) return undefined
 
-  const prefix = full.slice(0, 4).map((part) => part.toLowerCase().replace(/^0+(?=.)/, "")).join(":")
+  const prefix = full
+    .slice(0, 4)
+    .map((part) => part.toLowerCase().replace(/^0+(?=.)/, ""))
+    .join(":")
   return `${prefix}::/64`
 }