01 2023 档案

摘要:jenkins在构建的过程中,前端代码报错,可以尝试更新jenkins配置代码,添加以下代码解决: rm -rf node_modules rm -rf package-lock.json npm cache clear --force 重新构建jenkins,解决之后,这些代码可以注释掉,下次应该 阅读全文
posted @ 2023-01-12 17:00 猕猴桃姑娘 阅读(253) 评论(0) 推荐(0) 编辑
摘要:使用new set()对数组去重,再转换成数组形式: const list = [1,2,3,4,3,2,1] const newList = Array.from(new Set(list)) 阅读全文
posted @ 2023-01-05 15:20 猕猴桃姑娘 阅读(27) 评论(1) 推荐(0) 编辑
摘要:年终总结了,看一下自己代码量和提交次数吧。 1、年度个人代码量 git log --since="2022-01-01" --before="2022-12-31" --author="username" --pretty=tformat: --numstat | awk '{ add += $1; 阅读全文
posted @ 2023-01-03 19:22 猕猴桃姑娘 阅读(140) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示