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

git commit 时发现个奇怪的域名

  •  
  •   NakeSnail · 20 天前 · 1276 次点击

    腾讯云最新优惠活动来了:云产品限时1折,云服务器低至88元/年 ,点击这里立即抢购:9i0i.cn/qcloud,更有2860元代金券免费领取,付款直接抵现金用,点击这里立即领取:9i0i.cn/qcloudquan

    (福利推荐:你还在原价购买阿里云服务器?现在阿里云0.8折限时抢购活动来啦!4核8G企业云服务器仅2998元/3年,立即抢购>>>:9i0i.cn/aliyun

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


    http://www.vxiaotou.com