This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fixed 删除文件失败,参数sha不匹配提示
pull/347/head
xxq250
2 years ago
parent
8ca9ced360
commit
6e41605cbc
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/interactors/gitea/delete_file_interactor.rb
+ 1
- 0
app/interactors/gitea/delete_file_interactor.rb
View File
@@ -45,6 +45,7 @@ module Gitea
else
Rails.logger.error("Gitea::Repository::Entries::DeleteService error[#{response.status}]======#{response.body}")
@error = "删除失败,请确认该分支是否是保护分支。"
@error = "删除失败,参数sha不匹配。" if response.body.to_s.include?("sha does not match")
end
end
Write
Preview
Loading…
Cancel
Save