TechArchSA / HackersNote

Hacker's Note - A command-line tool creates gitbook compatible structure for pentest and read team projects documentation.
MIT License
9 stars 4 forks source link

refactor File.write #16

Closed KINGSABRI closed 6 years ago

KINGSABRI commented 6 years ago

https://github.com/TechArchSA/HackersNote/blob/35e8a42f1ea9eb859adecc64cabe0595049f881e/lib/hackernote/gitbook_builder.rb#L89-L94

No need for File.write , we can put it in the open block

file.puts "# #{heading1}\n\n"
KINGSABRI commented 6 years ago

Done