Skip to content

Commit

Permalink
Merge pull request #66 from demisto/build_fix
Browse files Browse the repository at this point in the history
Build fix - converted the script_regex argument to a list
  • Loading branch information
reutshal authored Dec 16, 2019
2 parents 0f0eac3 + a1c5607 commit 37e6e7e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@
[1]: https://pypi.org/project/demisto-sdk/#history

### 0.1.8
* Added support for `--version`
* Added support for `--version`.
* Fixed an issue in file_validator when calling `checked_type` method with script regex.

### 0.1.2
* Restructuring validation to support content packs
* Added secrets validation
* Added content bundle creation
* Added lint and unit test run
* Restructuring validation to support content packs.
* Added secrets validation.
* Added content bundle creation.
* Added lint and unit test run.

### 0.1.1

* Added new logic to the unifier
* Added detailed README
* Some small adjustments and fixes
* Added new logic to the unifier.
* Added detailed README.
* Some small adjustments and fixes.

### 0.1.0

Expand Down
2 changes: 1 addition & 1 deletion demisto_sdk/validation/file_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def validate_modified_files(self, modified_files): # noqa: C901
if not integration_validator.is_valid_beta_integration():
self._is_valid = False

elif checked_type(file_path, SCRIPT_REGEX):
elif checked_type(file_path, [SCRIPT_REGEX]):
script_validator = ScriptValidator(structure_validator)
if self.is_backward_check and not script_validator.is_backward_compatible():
self._is_valid = False
Expand Down

0 comments on commit 37e6e7e

Please sign in to comment.