Skip to content

Commit

Permalink
Fix 'Operation not permitted @ apply2files - app/build.gradle'
Browse files Browse the repository at this point in the history
  • Loading branch information
fgbreel authored and Gabriel Francisco committed Mar 9, 2022
1 parent c5b56f9 commit 35bba72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def self.incrementVersion(path, new_version_code, constant_name)
end
temp_file.rewind
temp_file.close
FileUtils.mv(temp_file.path, path)
FileUtils.cp(temp_file.path, path)
temp_file.unlink
end
if foundVersionCode == "true"
Expand Down

0 comments on commit 35bba72

Please sign in to comment.