Permalink
Browse files

Use double quotes

  • Loading branch information...
1 parent 2368cc0 commit c29d182419a5f20694c962dffeb6f95ac5e48559 @tysongach tysongach committed Feb 5, 2016
Showing with 11 additions and 12 deletions.
  1. +1 −2 bin/bourbon
  2. +2 −2 index.js
  3. +8 −8 lib/bourbon/generator.rb
View
@@ -1,6 +1,5 @@
#!/usr/bin/env ruby
-# CodeKit needs relative paths
-require File.dirname(__FILE__) + '/../lib/bourbon.rb'
+require File.dirname(__FILE__) + "/../lib/bourbon.rb"
Bourbon::Generator.start
View
@@ -1,7 +1,7 @@
-var path = require('path');
+var path = require("path");
module.exports = {
includePaths: [
- path.join(__dirname, 'core')
+ path.join(__dirname, "core")
]
};
@@ -1,12 +1,12 @@
-require 'bourbon/version'
+require "bourbon/version"
require "fileutils"
-require 'thor'
+require "thor"
module Bourbon
class Generator < Thor
- map ['-v', '--version'] => :version
+ map ["-v", "--version"] => :version
- desc 'install', 'Install Bourbon into your project'
+ desc "install", "Install Bourbon into your project"
method_options :path => :string, :force => :boolean
def install
if bourbon_files_already_exist? && !options[:force]
@@ -17,7 +17,7 @@ def install
end
end
- desc 'update', 'Update Bourbon'
+ desc "update", "Update Bourbon"
method_options :path => :string
def update
if bourbon_files_already_exist?
@@ -29,7 +29,7 @@ def update
end
end
- desc 'version', 'Show Bourbon version'
+ desc "version", "Show Bourbon version"
def version
say "Bourbon #{Bourbon::VERSION}"
end
@@ -42,9 +42,9 @@ def bourbon_files_already_exist?
def install_path
@install_path ||= if options[:path]
- Pathname.new(File.join(options[:path], 'bourbon'))
+ Pathname.new(File.join(options[:path], "bourbon"))
else
- Pathname.new('bourbon')
+ Pathname.new("bourbon")
end
end

0 comments on commit c29d182

Please sign in to comment.