Skip to content

Commit

Permalink
Merge pull request #56 from demisto/sk_fix_update_rn
Browse files Browse the repository at this point in the history
[update-release-notes]
  • Loading branch information
anas-yousef authored Jun 4, 2024
2 parents e192f93 + ab3f29c commit 086b417
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# Unreleased

- Fixed an issue where the "Update Release Notes" command failed due to incorrect command calling.
- Fixed an issue where the "Validate" command failed due to incorrect command calling.

# [0.7.1] (2024-04-25)

- Fixed an issue with `demisto-sdk` arguments where there are special characters in the path.
Expand Down
4 changes: 2 additions & 2 deletions src/demistoSDKWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function updateReleaseNotesCommand(file: string): void {
).then(
(value) => {
if (value) {
const command = ['update-release-notes -i', packName.toString(), '-u', value];
const command = ['update-release-notes', '-i', packName.toString(), '-u', value];
TerminalManager.sendDemistoSdkCommandWithProgress(command);
}
});
Expand All @@ -31,7 +31,7 @@ export function updateReleaseNotesCommand(file: string): void {

export function validateCommand(file: string): void {
const json_path = tools.getReportPath(file);
const command = ['validate -i', file, '-j', json_path];
const command = ['validate', '-i', file, '-j', json_path];
TerminalManager.sendDemistoSdkCommandWithProgress(command);
}

Expand Down

0 comments on commit 086b417

Please sign in to comment.