Update get_sql_column_sample_data.py

When CheckAll is not true the script didn't assign the str variable scriptEnd prior to trying to add to it with +=.
readme-wiki
Dan McInerney 2017-11-14 14:06:17 -05:00 committed by GitHub
parent 4ff808b773
commit edf040e690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ class Module:
instance = self.options['Instance']['Value']
no_defaults = self.options['NoDefaults']['Value']
check_all = self.options['CheckAll']['Value']
scriptEnd = ""
# read in the common module source code
moduleSource = self.mainMenu.installPath + "data/module_source/collection/Get-SQLColumnSampleData.ps1"
script = ""