- 将路径验证和赋值逻辑分离,提高代码可读性 - 使用临时变量存储realpath结果,避免重复调用 - 先验证路径存在性再进行赋值操作pull/1/head
parent
c601729ddc
commit
955a3b0e4f
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue