Skip to content

Commit

Permalink
Zip packs bug (#2426)
Browse files Browse the repository at this point in the history
* fixed a pre-commit issue

* handled the file CommonserverUserpowershell

* added changelog
  • Loading branch information
merit-maita authored Oct 30, 2022
1 parent 4fb66d2 commit 47d379b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Changelog
* Fixed an issue where the **zip-packs** command did not work with the CommonServerUserPython and CommonServerUserPowerShell package.

## Unreleased
* Fixed an issue where paybooks **generate-docs** didn't parse complex input values when no accessor field is given correctly.
Expand Down
2 changes: 2 additions & 0 deletions demisto_sdk/commands/unify/integration_script_unifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ def get_code_file(self, script_type):
return os.path.join(self.package_path, 'CommonServerUserPython.py')
if self.package_path.endswith(os.path.join('Scripts', 'CommonServerPowerShell')):
return os.path.join(self.package_path, 'CommonServerPowerShell.ps1')
if self.package_path.endswith(os.path.join('Scripts', 'CommonServerUserPowerShell')):
return os.path.join(self.package_path, 'CommonServerUserPowerShell.ps1')
if self.package_path.endswith('ApiModule'):
return os.path.join(self.package_path, os.path.basename(os.path.normpath(self.package_path)) + '.py')

Expand Down

0 comments on commit 47d379b

Please sign in to comment.