Skip to content

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

+2-8
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)