Skip to content

Commit

Permalink
lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Oct 25, 2024
1 parent c70dce0 commit 0463a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/sandbox/FlattenRelativeImports.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default function flattenRelativeImports(rawCode: string) {
return rawCode.replace(/from (['"])\..*[\/]/g, `from $1./`);
return rawCode.replace(/from (['"])\..*\//g, `from $1./`);
}

0 comments on commit 0463a8a

Please sign in to comment.