Skip to content

Commit

Permalink
gah
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jun 12, 2024
1 parent d47ab51 commit 5a78f7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/sorcery.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ describe('cli', () => {
.map((name) => {
var contents = fs
.readFileSync(`${subdir}/${name}`, 'utf-8')
.replace(/\r\n/g, '\n')
.trim();

if (path.extname(name) === '.map') {
Expand All @@ -522,7 +523,7 @@ describe('cli', () => {

return {
name: name,
contents: contents.replace(/\r\n/g, '\n')
contents: contents
};
});
}
Expand Down

0 comments on commit 5a78f7d

Please sign in to comment.