deno
deno copied to clipboard
fix(terminal): Skip the cjs suggestion for mjs/mts modules
This PR is for solving #26557.
- A check statement was added to verify if the file ends with .mjs or .mts.
- If this condition is true, the CJS suggestions will be skipped.
Could you please add a test that uses .cts file?
Sure! I will add a test asap
When I try to add a test that uses a .cts file, it shows me the following error:
@MohammadSu1 can you push the failing test to the PR?
@dsherret I tried fixing the issue in the test and pushed it to the PR. I think it's working correctly now
@dsherret Can you please review this PR?
@bartlomieju Can you please review this PR?
@dsherret Can you review this PR?
@dsherret Can you review this PR, please?