Skip to content

Commit efae6c9

Browse files
committed
chore: Use command.spokenForm from data obj
1 parent d244817 commit efae6c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/generate-examples/src/lib/loadFixture.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import path from 'path';
22
import fs from 'fs-extra';
33
import * as yaml from 'yaml';
44

5-
import { buildSpokenForm } from './buildSpokenForm';
65
import { generateHtml, SelectionAnchor } from './generateHtml';
76

87
const fixturesDir = path.join(
@@ -71,7 +70,7 @@ export async function loadFixture(folder: string, name: string) {
7170
);
7271
return {
7372
language: data.languageId,
74-
command: buildSpokenForm(data.command),
73+
command: data.command.spokenForm,
7574
originalCommand: data.command.spokenForm,
7675
during,
7776
before,

0 commit comments

Comments
 (0)