Skip to content

Commit

Permalink
Update get_sql_column_sample_data.py
Browse files Browse the repository at this point in the history
When CheckAll is not true the script didn't assign the str variable scriptEnd prior to trying to add to it with +=.
  • Loading branch information
DanMcInerney authored Nov 14, 2017
1 parent 4ff808b commit edf040e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ def generate(self, obfuscate=False, obfuscationCommand=""):
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 = ""
Expand Down

0 comments on commit edf040e

Please sign in to comment.