-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
If you assign a value to a global variable, for example $global:fubar="snafu", it reports "The variable 'fubar' is assigned but never used." when in fact it is used elsewhere, such as within a different function.
Please either fix this for all "$global:" variables so that if they're referenced anywhere within the script, no warning is emitted....or at the very least give the option to disable that warning specifically or global variables.
(I imagine the same issue exists for script-level variables, too, though I have not checked that.)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed