@govuk-pay/cli 0.0.24 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -129,7 +129,7 @@ module PayCLI::Secrets
|
|
|
129
129
|
end
|
|
130
130
|
|
|
131
131
|
def self.fetch_pay_pass!(env, service, key, provider, pass_path)
|
|
132
|
-
if ENV.has_key?('WORKSPACE')
|
|
132
|
+
if ! ENV.has_key?('WORKSPACE')
|
|
133
133
|
STDERR.puts 'Error: You must set your WORKSPACE env var to the directory where you checkout alphagov github projects'
|
|
134
134
|
exit 1
|
|
135
135
|
end
|