Skip to content

Commit

Permalink
Merge pull request #25 from dmytrokosiachenko/main
Browse files Browse the repository at this point in the history
fix: added missing 'from'
  • Loading branch information
mbonig committed Apr 18, 2023
2 parents 471c7d7 + 0af1f37 commit 7718826
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/StepFunctionsAutoDiscover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class StepFunctionsStateMachine extends Component {

let isYaml = /(yaml|yml)/.test(extension);
if (isYaml) {
src.line('import * as yaml \'js-yaml\';');
src.line('import * as yaml from \'js-yaml\';');
}

src.open(`export interface ${constructName}Overrides {`);
Expand Down
4 changes: 2 additions & 2 deletions test/__snapshots__/StateMachineAutoDiscover.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7718826

Please sign in to comment.