sartography / cr-connect

0 stars 0 forks source link

Remove variables from task.data without errors #584

Closed danfunk closed 2 years ago

danfunk commented 2 years ago

I propose we create a script called clean() that will remove variables from the task.data if they exist. It should loop through all the arguments provided and delete these keys from the task.data. This is a replacement for the del() command which works, but will error out if the variable is undefined.