[Command Line] Don't force the user to specify the configuration path when calling compass config
This commit is contained in:
parent
bb77dcefcb
commit
6878899c4c
@ -59,8 +59,11 @@ module Compass
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
directory File.dirname(options[:configuration_file])
|
config_file = options[:configuration_file]
|
||||||
installer.write_configuration_files(options[:configuration_file])
|
config_file ||= Compass.detect_configuration_file
|
||||||
|
config_file ||= Compass::Configuration::Helpers::KNOWN_CONFIG_LOCATIONS.first
|
||||||
|
directory File.dirname(config_file)
|
||||||
|
installer.write_configuration_files(config_file)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user