Skip to content

Commit

Permalink
Merge pull request #39 from slackhq/sg-removed-param
Browse files Browse the repository at this point in the history
removed parameter
  • Loading branch information
sgorbach0v authored Aug 19, 2024
2 parents c75b1fb + c4a189c commit 0d9511f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const getReactComponentDOM = async (filePath: string): Promise<string> =>
// Generate prompt
export const generatePrompt = (
filePath: string,
getByTestIdAttribute = 'data-testid',
getByTestIdAttribute: string,
astCodemodOutput: string,
renderedCompCode: string,
): string =>
Expand Down
2 changes: 1 addition & 1 deletion src/support/prompt-generation/generate-prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const promptLogger = createCustomLogger('Prompt');
*/
export const genPrompt = (
filePath: string,
getByTestIdAttribute = 'data-testid',
getByTestIdAttribute: string,
astCodemodOutput: string,
renderedCompCode: string,
): string => {
Expand Down

0 comments on commit 0d9511f

Please sign in to comment.