Skip to content

Normalize slashes for paths in watch events - #57968

Merged
Sheetal Nandi (sheetalkamat) merged 3 commits into
mainfrom
normalizeWatchevents
Mar 27, 2024
Merged

Sheetal Nandi (sheetalkamat) merged 3 commits into
mainfrom
normalizeWatchevents

Conversation

@sheetalkamat

Copy link
Copy Markdown
Member

No description provided.

@DanielRosenwasser

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry-pick to release-5.4

@typescript-bot

TypeScript Bot (typescript-bot) commented Mar 27, 2024

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
cherry-pick to release-5.4 ✅ Started ❌ Results

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey, Daniel Rosenwasser (@DanielRosenwasser)! I was unable to cherry-pick this PR.

Check the logs at: https://github.com/microsoft/TypeScript/actions/runs/8458595699

session.logger.log(`${log}: ${file}`);
if (content) session.host.appendFile(file, content);
else session.host.writeFile(file, session.host.readFile("/user/username/projects/myproject/a.ts")!);
if (content && session.host.fileExists(file)) session.host.appendFile(file, content);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I know this is just testing, but is there technically an issue here with if content is an empty string?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah but its for testing so just simplified it

@sheetalkamat
Sheetal Nandi (sheetalkamat) deleted the normalizeWatchevents branch March 27, 2024 21:16
@sheetalkamat

Copy link
Copy Markdown
Member Author

Daniel Rosenwasser (@DanielRosenwasser) conflict for picking up comes because #57967 is not merged

@DanielRosenwasser

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry-pick to release-5.4

@typescript-bot

TypeScript Bot (typescript-bot) commented Mar 27, 2024

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
cherry-pick to release-5.4 ✅ Started ✅ Results

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey, Daniel Rosenwasser (@DanielRosenwasser)! I've created #57970 for you.

Daniel Rosenwasser (DanielRosenwasser) pushed a commit that referenced this pull request Mar 28, 2024
…e-5.4 (#57970)

Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants