Skip to content

Commit

Permalink
[docs] format error messages (#11188)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah11918 authored Jun 5, 2024
1 parent db71177 commit 1529428
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/astro/src/core/errors/errors-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1234,18 +1234,18 @@ export const EnvInvalidVariable = {
/**
* @docs
* @description
* "astro:env/server" exported function "getSecret" is not supported by your adapter..
* The `astro:env/server` exported function `getSecret()` is not supported by your adapter.
*/
export const EnvUnsupportedGetSecret = {
name: 'EnvUnsupportedGetSecret',
title: 'Unsupported astro:env getSecret',
message: '"astro:env/server" exported function "getSecret" is not supported by your adapter.',
message: '\`astro:env/server\` exported function \`getSecret\` is not supported by your adapter.',
} satisfies ErrorData;

/**
* @docs
* @description
* Module is only available server-side
* This module is only available server-side.
*/
export const ServerOnlyModule = {
name: 'ServerOnlyModule',
Expand Down

0 comments on commit 1529428

Please sign in to comment.