V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
NakeSnail
V2EX  ›  Node.js

git commit 时发现个奇怪的域名

  •  
  •   NakeSnail · 17 天前 · 1239 次点击
    warning ../../package.json: No license field
    husky > pre-commit (node v16.15.1)
    NCU Real Time Weather is Running......
    2024/4/13 10:42 Saturday UTC+8:00
    
    Whoops! Please check your network connection. OR may be http://pblap.atm.ncu.edu.tw is dead, error message:
    
    Error: connect ETIMEDOUT 140.115.35.235:80
    
    sh: lint-staged: command not found
    husky > pre-commit hook failed (add --no-verify to bypass)
    

    给一个仓库 commit 代码时,发现提交不上,这里面居然有个 pblap.atm.ncu.edu.tw 的域名,我看了下是台湾一个大学的,我看了下 pre-commit ,也就下面这一行

    npx ncu --semverLevel major -f eslint -e 2 && lint-staged
    

    有人知道原因么

    3 条回复
    wusheng0
        2
    wusheng0  
       17 天前 via Android
    会不会装错包了,ncu 应该是 npm-check-updates 吧,怎么会触发天气
    NakeSnail
        3
    NakeSnail  
    OP
       17 天前
    @runze 感谢,居然系统里还有这玩意。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   843 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:22 · PVG 04:22 · LAX 13:22 · JFK 16:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.