Skip to content
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.

Commit

Permalink
Reflect changes without rake install, refs #8.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Crump committed Jan 12, 2012
1 parent f2478f1 commit 8e7b2ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions bin/foodcritic
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
require 'foodcritic'
require_relative '../lib/foodcritic'
result, status = FoodCritic::Linter.check(ARGV)
puts result; exit status.to_i
puts result; exit status.to_i
10 changes: 5 additions & 5 deletions lib/foodcritic.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'chef'
require 'pry'
require 'foodcritic/domain'
require 'foodcritic/helpers'
require 'foodcritic/dsl'
require 'foodcritic/linter'
require 'foodcritic/version'
require_relative 'foodcritic/domain'
require_relative 'foodcritic/helpers'
require_relative 'foodcritic/dsl'
require_relative 'foodcritic/linter'
require_relative 'foodcritic/version'

0 comments on commit 8e7b2ad

Please sign in to comment.