Skip to content

Commit

Permalink
Move fileutils require directive into near needed place
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmo0920 committed Jan 16, 2018
1 parent b37e953 commit dd3f56b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion bin/fluent-ca-generate
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env ruby

$LOAD_PATH.unshift(File.join(__dir__, 'lib'))
require 'fileutils'
require 'fluent/command/ca_generate'

Fluent::CaGenerate.new.call
1 change: 1 addition & 0 deletions lib/fluent/command/ca_generate.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'openssl'
require 'optparse'
require 'fileutils'

module Fluent
class CaGenerate
Expand Down

0 comments on commit dd3f56b

Please sign in to comment.