Skip to content

Commit

Permalink
Fix error formatting in README
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim committed Aug 11, 2024
1 parent cefd8c7 commit 90d19a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@ If bundler is not being used to manage dependencies, install the gem by executin
If you don't set this credential, you will get an error:

```ruby
```
Loadout::MissingConfigError: required credential (key_name) is not set
```

3. Or from ENV:

```ruby
```
config.key = env(:key_name)
```

If you don't set this env, you will get an error:
```ruby
```
Loadout::MissingConfigError: required environment variable (KEY_NAME) is not set
```
Expand All @@ -81,7 +81,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
If neither are set, you will get an error:
```ruby
```
Loadout::MissingConfigError: required environment variable (KEY_NAME) or credential (key_name) is not set
```
Expand Down Expand Up @@ -118,7 +118,7 @@ If bundler is not being used to manage dependencies, install the gem by executin

If you set an invalid value, you will get an error:

```ruby
```
Loadout::InvalidConfigError: invalid value for bool (`value`) in KEY_NAME
```

Expand Down

0 comments on commit 90d19a4

Please sign in to comment.