Skip to content

Conversation

alan-agius4
Copy link
Contributor

@alan-agius4 alan-agius4 commented Nov 1, 2018

At the moment, path.posix.relative will break paths in windows as it will return something like

Error: Source file "../C:/users/alag/_bazel_alag/3tbqurya/execroot/angular/bazel-out/x64_windows-fastbuild/bin/packages/core/core.d.ts" not found

Remove \r followed by \n as in windows these causes golden files to be different.

@alan-agius4 alan-agius4 closed this Nov 3, 2018
@alan-agius4 alan-agius4 reopened this Nov 3, 2018
At the moment, `path.posix.relative` will break paths in windows as it will return something like
```
Error: Source file "../C:/users/alag/_bazel_alag/3tbqurya/execroot/angular/bazel-out/x64_windows-fastbuild/bin/packages/core/core.d.ts" not found
```
In windows when using readFile `\n` are replaced with `\r\n` which causes issues when comparing golden files
@alan-agius4
Copy link
Contributor Author

CI is flaky

@gkalpak gkalpak closed this Nov 9, 2018
@gkalpak gkalpak reopened this Nov 9, 2018
@alexeagle alexeagle added the target: patch This PR is targeted for the next patch release label Nov 13, 2018
@alexeagle alexeagle added the action: merge The PR is ready for merge by the caretaker label Nov 13, 2018
AndrewKushnir pushed a commit that referenced this pull request Nov 13, 2018
At the moment, `path.posix.relative` will break paths in windows as it will return something like
```
Error: Source file "../C:/users/alag/_bazel_alag/3tbqurya/execroot/angular/bazel-out/x64_windows-fastbuild/bin/packages/core/core.d.ts" not found
```

PR Close #26888
AndrewKushnir pushed a commit that referenced this pull request Nov 13, 2018
In windows when using readFile `\n` are replaced with `\r\n` which causes issues when comparing golden files

PR Close #26888
AndrewKushnir pushed a commit that referenced this pull request Nov 13, 2018
In windows when using readFile `\n` are replaced with `\r\n` which causes issues when comparing golden files

PR Close #26888
@alan-agius4 alan-agius4 deleted the guardian_windows_path branch November 21, 2018 11:07
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants