Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Remove newline(s) from written files #114

Closed
wants to merge 25 commits into from
Closed

Remove newline(s) from written files #114

wants to merge 25 commits into from

Conversation

azerella
Copy link
Contributor

@azerella azerella commented Mar 19, 2019

fixes #113

When the pancake module writes files using the WriteFile() function, it does so with a newline. This causes problems with our test suite as we need to compare file content hashes. Unix and Windows handle newlines differently and this results in mismatching hashes for Windows, ergo the tests fail.

  • Remove .babelrc from root
  • Remove unused root deps
  • Remove newline and spacing from test fixtures
  • Replace newline and spacing when writing file content in pancake module.

09/04/19

  • Bump deps

@azerella azerella added this to the Sprint 125 milestone Mar 19, 2019
@azerella azerella self-assigned this Mar 19, 2019
@azerella azerella modified the milestones: Sprint 125, Sprint 126 Mar 20, 2019
@azerella azerella force-pushed the develop branch 2 times, most recently from 78d43e2 to f7e15ef Compare March 25, 2019 02:33
* To compare file data hashes across platforms, we
* need to remove \n or \r\n newlines
*/
content = content.replace( /[\r\n]/gm, '' );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep the new line and get tests to pass for both platforms? Or perhaps force the same new line across platforms

dependabot-support and others added 9 commits April 2, 2019 13:15
Bumps [uglify-js](https://github.com/mishoo/UglifyJS2) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/mishoo/UglifyJS2/releases)
- [Commits](mishoo/UglifyJS@v3.5.2...v3.5.3)

Signed-off-by: dependabot[bot] <[email protected]>
@azerella azerella force-pushed the master branch 3 times, most recently from 34abc27 to 76833d5 Compare April 15, 2019 07:02
@azerella
Copy link
Contributor Author

azerella commented May 1, 2019

Although important to address, I'm moving this issue to the icebox - This type of issue is apart of a bigger problem that we need to look at later on

@azerella azerella added the parked Won’t work on anytime soon as low priority. label May 1, 2019
@mrrossmullen mrrossmullen deleted the develop branch February 10, 2021 22:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
parked Won’t work on anytime soon as low priority.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows - Failing test-suite
4 participants