Skip to content

Conversation

@astitv-sh
Copy link

@astitv-sh astitv-sh commented Mar 31, 2025

Issue #, if available:

Description of changes:
Fixed errors due to patching issues with dirs.js and gulpfile.extensions.js files in post-startup-notifications.patch

Verified changes (Screenshot attached below):
Screenshot 2025-03-31 at 11 21 31 PM

Updates:
Fixed spacing issues with extension files. Added yarn.lock contents to patch and patched-vscode.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

const fs = require('fs');

// Complete list of directories where yarn should be executed to install node modules
const dirs = [

Choose a reason for hiding this comment

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

Whats with these spacing issues? Ideally we shld have only added a line in this file?

Copy link
Author

Choose a reason for hiding this comment

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

The spacing is the same. It comes up in the diff for all lines but the removed and added changes are equivalent.

@@ -1,3879 +1,2 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.

Choose a reason for hiding this comment

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

Why are we removing this now?

Copy link
Author

Choose a reason for hiding this comment

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

The lockfile is generated during build itself. Referred to PRs for other extensions as well, the lockfile seems to be empty in all such cases

@astitv-sh astitv-sh force-pushed the feature/smus branch 3 times, most recently from 7f2020c to a4ac027 Compare April 1, 2025 00:01
Copy link

@bharathGuntamadugu bharathGuntamadugu left a comment

Choose a reason for hiding this comment

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

There seems to be some spacing issues that we can fix if this arise as a problem.

'extensions/sagemaker-terminal-crash-mitigation',
'extensions/sagemaker-open-notebook-extension',
'extensions/sagemaker-ui-dark-theme',
+ 'extensions/post-startup-notifications',

Choose a reason for hiding this comment

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

Spacing issue.

'extensions/sagemaker-terminal-crash-mitigation/tsconfig.json',
'extensions/sagemaker-open-notebook-extension/tsconfig.json',
'extensions/sagemaker-ui-dark-theme/tsconfig.json',
+ 'extensions/post-startup-notifications/tsconfig.json',

Choose a reason for hiding this comment

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

Spacing issue.

@aws-asolidu aws-asolidu merged commit ec5cc4e into aws:feature/smus Apr 1, 2025
austinjang2 pushed a commit to austinjang2/sagemaker-code-editor that referenced this pull request Sep 11, 2025
Fix: dirs.js and gulpfile.extensions.js patching errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants