Hide the 1password login error
Avoid outputting this login error message, it wasn't an error and you don't need to follow those instructions. ``` [ERROR] 2024/09/11 11:57:08 You are not currently signed in. Please run `op signin --help` for instructions ```
This commit is contained in:
@@ -11,7 +11,7 @@ class Kamal::Secrets::Adapters::OnePassword < Kamal::Secrets::Adapters::Base
|
||||
end
|
||||
|
||||
def loggedin?(account)
|
||||
`op account get --account #{account.shellescape}`
|
||||
`op account get --account #{account.shellescape} 2> /dev/null`
|
||||
$?.success?
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user