summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/haskell.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/haskell.rb')
-rw-r--r--lib/ohai/plugins/haskell.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ohai/plugins/haskell.rb b/lib/ohai/plugins/haskell.rb
index d3070e04..07132581 100644
--- a/lib/ohai/plugins/haskell.rb
+++ b/lib/ohai/plugins/haskell.rb
@@ -39,7 +39,7 @@ Ohai.plugin(:Haskell) do
haskell[:ghc][:description] = so.stdout.chomp
end
rescue Ohai::Exceptions::Exec
- Ohai::Log.debug('Haskell plugin: Could not shell_out "ghc --version". Skipping data')
+ Ohai::Log.debug('Plugin Haskell: Could not shell_out "ghc --version". Skipping data')
end
# Check for ghci
@@ -54,7 +54,7 @@ Ohai.plugin(:Haskell) do
haskell[:ghci][:description] = so.stdout.chomp
end
rescue Ohai::Exceptions::Exec
- Ohai::Log.debug('Haskell plugin: Could not shell_out "ghci --version". Skipping data')
+ Ohai::Log.debug('Plugin Haskell: Could not shell_out "ghci --version". Skipping data')
end
# Check for cabal
@@ -70,7 +70,7 @@ Ohai.plugin(:Haskell) do
haskell[:cabal][:description] = so.stdout.split("\n")[0].chomp
end
rescue Ohai::Exceptions::Exec
- Ohai::Log.debug('Haskell plugin: Could not shell_out "cabal --version". Skipping data')
+ Ohai::Log.debug('Plugin Haskell: Could not shell_out "cabal --version". Skipping data')
end
# Check for stack
@@ -87,7 +87,7 @@ Ohai.plugin(:Haskell) do
haskell[:stack][:description] = so.stdout.chomp
end
rescue Ohai::Exceptions::Exec
- Ohai::Log.debug('Haskell plugin: Could not shell_out "stack --version". Skipping data')
+ Ohai::Log.debug('Plugin Haskell: Could not shell_out "stack --version". Skipping data')
end
languages[:haskell] = haskell unless haskell.empty?