DEV: Apply rubocop

This commit is contained in:
David Taylor 2018-10-22 20:13:47 +01:00
parent 6d9d78e6b2
commit 61175ada7a
2 changed files with 9 additions and 8 deletions

View File

@ -106,12 +106,12 @@ class DockerManager::Upgrader
log "$ #{cmd}"
msg = ""
clear_env = Hash[*ENV.map{|k,v| [k,nil]}
.reject{ |k,v|
["PWD","HOME","SHELL","PATH"].include?(k) ||
clear_env = Hash[*ENV.map { |k, v| [k, nil] }
.reject { |k, v|
["PWD", "HOME", "SHELL", "PATH"].include?(k) ||
k =~ /^DISCOURSE_/
}
.flatten]
.flatten]
clear_env["RAILS_ENV"] = "production"
clear_env["TERM"] = 'dumb' # claim we have a terminal

View File

@ -1,14 +1,14 @@
/* Put your CSS here */
@import 'bootstrap';
@import "bootstrap";
$tertiary: #0088cc !default;
$shadow: 0 0 8px rgba(0, 0, 0, 0.6) !default;
$shadow: 0 0 8px rgba(0, 0, 0, 0.6) !default;
@mixin box-shadow($shadow) {
box-shadow: $shadow;
}
html{
html {
overflow-y: scroll;
overflow-x: auto;
}
@ -74,7 +74,8 @@ table#repos {
border-top: none;
}
td, th {
td,
th {
padding: 8px 15px 8px 0px;
}