lib/autoproj/cli/commit.rb in autoproj-2.3.1 vs lib/autoproj/cli/commit.rb in autoproj-2.4.0
- old
+ new
@@ -7,10 +7,10 @@
class Commit < InspectionTool
def run(*user_selection, options = Hash.new)
pkg = manifest.main_package_set.create_autobuild_package
importer = pkg.importer
if !importer || !importer.kind_of?(Autobuild::Git)
- raise ConfigError, "cannot use autoproj tag if the main configuration is not managed by git"
+ raise CLIInvalidArguments, "cannot use autoproj tag if the main configuration is not managed by git"
end
versions_file = File.join(
ws.config_dir,
Workspace::OVERRIDES_DIR,