debian-mirror-gitlab/file_hooks/examples/save_to_file.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
70 B
Ruby
Raw Normal View History

2018-03-27 19:54:05 +05:30
#!/usr/bin/env ruby
2021-09-04 01:27:46 +05:30
x = $stdin.read
2018-03-27 19:54:05 +05:30
File.write('/tmp/rb-data.txt', x)