Skip to content

Commit

Permalink
Enhanced handling for directories that are not Git repositories, elim…
Browse files Browse the repository at this point in the history
…inating unnecessary error notifications.
  • Loading branch information
danielchristianschroeter committed Oct 17, 2024
1 parent 7b35fc6 commit 2d763f2
Show file tree
Hide file tree
Showing 20 changed files with 1,493 additions and 1,206 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog

## [2.4.1] - Current Changes
## [2.4.2]

### Fixed

- Enhanced handling for directories that are not Git repositories, eliminating unnecessary error notifications.

## [2.4.1]

### Added

Expand Down
118 changes: 59 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"devDependencies": {
"@types/mocha": "^10.0.9",
"@types/mock-fs": "^4.13.4",
"@types/node": "22.7.5",
"@types/node": "22.7.6",
"@types/semver": "^7.5.8",
"@types/sinon": "^17.0.3",
"@types/vscode": "^1.93.1",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/pushAndCheckBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export async function pollBuildStatusImmediate(
}

if (status === 'no_runs' && attempt === 0) {
vscode.window.showInformationMessage(`Waiting for CI to start for ${isTag ? 'tag' : 'branch'} ${ref} (${owner}/${repo})`);
vscode.window.showInformationMessage(`Waiting for ${ciType} to start build for ${isTag ? 'tag' : 'branch'} ${ref} (${owner}/${repo})`);
}

const interval = inProgressStatuses.includes(status) || status === 'no_runs'
Expand Down
Loading

0 comments on commit 2d763f2

Please sign in to comment.