bin/govuk-lint-sass in govuk-lint-4.0.0 vs bin/govuk-lint-sass in govuk-lint-4.0.1
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env ruby
-lib = File.expand_path("../../lib", __FILE__)
+lib = File.expand_path("../lib", __dir__)
$:.unshift lib unless $:.include?(lib)
-require 'govuk/lint/sass_cli'
-require 'scss_lint/logger'
+require "govuk/lint/sass_cli"
+require "scss_lint/logger"
logger = SCSSLint::Logger.new(STDOUT)
cli = Govuk::Lint::SassCLI.new(logger)
exit cli.run