fastlane/lib/fastlane/actions/cloc.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/cloc.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -36,31 +36,27 @@
[
FastlaneCore::ConfigItem.new(key: :binary_path,
env_name: "FL_CLOC_BINARY_PATH",
description: "Where the cloc binary lives on your system (full path including 'cloc')",
optional: true,
- is_string: true,
default_value: '/usr/local/bin/cloc'),
FastlaneCore::ConfigItem.new(key: :exclude_dir,
env_name: "FL_CLOC_EXCLUDE_DIR",
- description: "Comma separated list of directories to exclude", # a short description of this parameter
- optional: true,
- is_string: true),
+ description: "Comma separated list of directories to exclude",
+ optional: true),
FastlaneCore::ConfigItem.new(key: :output_directory,
env_name: "FL_CLOC_OUTPUT_DIRECTORY",
description: "Where to put the generated report file",
- is_string: true,
default_value: "build"),
FastlaneCore::ConfigItem.new(key: :source_directory,
- env_name: "FL_CLOC_SOURCE_DIRECTORY",
- description: "Where to look for the source code (relative to the project root folder)",
- is_string: true,
- default_value: ""),
+ env_name: "FL_CLOC_SOURCE_DIRECTORY",
+ description: "Where to look for the source code (relative to the project root folder)",
+ default_value: ""),
FastlaneCore::ConfigItem.new(key: :xml,
- env_name: "FL_CLOC_XML",
- description: "Should we generate an XML File (if false, it will generate a plain text file)?",
- is_string: false,
- default_value: true)
+ env_name: "FL_CLOC_XML",
+ description: "Should we generate an XML File (if false, it will generate a plain text file)?",
+ type: Boolean,
+ default_value: true)
]
end
def self.authors
["intere"]