Skip to content

Commit

Permalink
fix: import Messages directly in configMeta (#804)
Browse files Browse the repository at this point in the history
* fix: dont use Messages for configMeta

* chore: regen schema

* chore: revert schemas

* fix: use lib import instead
  • Loading branch information
mdonnalley authored Nov 8, 2023
1 parent e41197a commit 560b297
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/configMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/

import { ConfigValue, Messages } from '@salesforce/core';
import type { ConfigValue } from '@salesforce/core';

import { Messages } from '@salesforce/core/lib/messages';
Messages.importMessagesDirectory(__dirname);
const messages = Messages.loadMessages('@salesforce/plugin-deploy-retrieve', 'config');

Expand Down

0 comments on commit 560b297

Please sign in to comment.