Skip to content

Commit

Permalink
feat: release 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Jul 17, 2024
1 parent ab07a72 commit 0879dba
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.1.2

- added notification to replace runtime error in case no argument set is defined for the Hotspot Detection, but an execution is requested.

## 0.1.1

- added a log webview, which can be opened via command to provide more detailed information
Expand Down
4 changes: 2 additions & 2 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 @@ -4,7 +4,7 @@
"description": "An extension for the Parallelism Discovery tool DiscoPoP.",
"author": "TU Darmstadt - Laboratory for Parallel Programming",
"icon": "media/discopop_icon.png",
"version": "0.1.1",
"version": "0.1.2",
"publisher": "TUDarmstadt-LaboratoryforParallelProgramming",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@ export class UIExtension
requestConfirmation: getRequestConfirmationWrapper(),
cancelToken: getCancelTokenWrapper(token),
}
if (executableArgumentsForHotspotDetection.length === 0) {
UIPrompts.showMessageForSeconds(
'Hotspot Detection not executed: No executable arguments provided.',
8
)
return
}
return this.discopopExtension.runHotspotDetection(
uiWrappers,
projectPath,
Expand Down

0 comments on commit 0879dba

Please sign in to comment.