Skip to content

Commit

Permalink
fix: linter errors + docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ahochsteger committed May 4, 2024
1 parent e44f7d0 commit 488696e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/docs/reference/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Create a log entry.
| Arguments | Type | Description |
|-----------|------|-------------|
| `level` | `LogLevel` | The level of the log message (default: `info`). See [Enum Type `LogLevel`](enum-types.mdx#loglevel) for valid values. |
| `location` | `string` | The location of the log message |
| `message` | `string` | The message to be logged. |

### `global.noop`
Expand All @@ -66,6 +67,7 @@ Terminate processing due to an error.
| Arguments | Type | Description |
|-----------|------|-------------|
| `level` | `LogLevel` | The level of the log message (default: `info`). See [Enum Type `LogLevel`](enum-types.mdx#loglevel) for valid values. |
| `location` | `string` | The location of the log message |
| `message` | `string` | The message to be logged. |

### `global.sheetLog`
Expand All @@ -75,6 +77,7 @@ Create a log entry in the log spreadsheet.
| Arguments | Type | Description |
|-----------|------|-------------|
| `level` | `LogLevel` | The level of the log message (default: `info`). See [Enum Type `LogLevel`](enum-types.mdx#loglevel) for valid values. |
| `location` | `string` | The location of the log message |
| `message` | `string` | The message to be logged. |

## Message Actions
Expand Down
3 changes: 1 addition & 2 deletions src/lib/adapter/LogAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ export class LogAdapter extends BaseAdapter {
value:
logConfigField?.ctxValues?.[ctx.type] ??
logConfigField?.value ??
`\${${name}}` ??
"",
`\${${name}}`,
}
return field
}
Expand Down

0 comments on commit 488696e

Please sign in to comment.