Skip to content

Commit 0c3ff2b

Browse files
committed
Don't delete ../ prefix
1 parent d26ec17 commit 0c3ff2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/fastlane/plugin/ddg_apple_automation/helper/embedded_files_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def self.update_embedded_files(platform, other_action)
3535
# Verify no unexpected files were modified
3636
git_status = Actions.sh('git', 'status')
3737
modified_files = git_status.split("\n").select { |line| line.include?('modified:') }
38-
modified_files = modified_files.map { |str| str.split(':')[1].strip.delete_prefix('../') }
38+
modified_files = modified_files.map { |str| str.split(':')[1].strip }
3939

4040
modified_files.each do |modified_file|
4141
UI.abort_with_message!("Unexpected change to #{modified_file}.") unless UPGRADABLE_EMBEDDED_FILES[platform].any? do |pattern|

0 commit comments

Comments
 (0)