Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e5af5b7

Browse files
committed
2025年04月25日 v. 9.3.4.1: updated StageChecker
1 parent 36df40c commit e5af5b7

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

‎ci/stage_checker.rb‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@
33
require_relative './ci_job'
44

55
module CI
6-
# CI job that checks all files are staged for commit.
6+
# CI job that add all files to stage for commit.
77
class StageChecker < ::CI::CIJob
88
# Process StageChecker.
99
# @return {Void}
10-
def process
11-
git_status = `git status --porcelain`
12-
13-
return if git_status.empty?
14-
15-
end_with_error(-> { puts("StageChecker found unstaged changes:\n#{git_status}") })
16-
end
10+
def process = `git add -u`
1711
end
1812
end

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /