Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gitlab gitkeep issue #3199

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

akshay-gupta7
Copy link
Contributor

Why does this PR exist?

Fixes #3160

What does this pull request do?

Testing this change

Additional Notes (if any)

Copy link

changeset-bot bot commented Nov 4, 2024

⚠️ No Changeset found

Latest commit: a584d65

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Nov 4, 2024

⤵️ 📦 ✨ The artifact was successfully created! Want to test it? Download it here 👀 🎁

try {
await this.gitlabClient.Commits.create(this.projectId, this.branch, 'Deleting unnecessary .gitkeep files', gitkeepDeletions);
} catch (e) {
console.error('Failed to delete .gitkeep files:', e);

Check warning

Code scanning / ESLint

disallow the use of `console` Warning

Unexpected console statement.
{ action: 'delete', filePath: gitkeepPath },
]);
} catch (e: any) {
console.error(`Failed to delete .gitkeep: ${e}`);

Check warning

Code scanning / ESLint

disallow the use of `console` Warning

Unexpected console statement.
Copy link
Contributor

github-actions bot commented Nov 4, 2024

Commit SHA:6bd03e96546403f56d9dbe8bed443fb680edf625

Test coverage results 🧪

Code coverage diff between base branch:main and head branch: fix-gitlab-gitkeep-issue 
Status File % Stmts % Branch % Funcs % Lines
🔴 total 66.91 (-0.07) 57.84 (-0.02) 63.86 (0.02) 67.27 (-0.07)
🔴 packages/tokens-studio-for-figma/src/storage/GitlabTokenStorage.ts 53.62 (-6.38) 45.65 (-2.12) 54.16 (2.16) 54.47 (-5.9)

Copy link
Contributor

github-actions bot commented Nov 4, 2024

Commit SHA:6bd03e96546403f56d9dbe8bed443fb680edf625
Current PR reduces the test coverage percentage by 1 for some tests

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.

Issue with .gitkeep Files and Branch Switching
1 participant