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,9 +106,9 @@ class DockerManager::Upgrader
log "$ #{cmd}" log "$ #{cmd}"
msg = "" msg = ""
clear_env = Hash[*ENV.map{|k,v| [k,nil]} clear_env = Hash[*ENV.map { |k, v| [k, nil] }
.reject{ |k,v| .reject { |k, v|
["PWD","HOME","SHELL","PATH"].include?(k) || ["PWD", "HOME", "SHELL", "PATH"].include?(k) ||
k =~ /^DISCOURSE_/ k =~ /^DISCOURSE_/
} }
.flatten] .flatten]

View File

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