-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Make disabledDirectory and apiVersion required for extension installation #3183
Conversation
To @peterflynn |
@@ -332,10 +332,14 @@ function _removeAndInstall(packagePath, installDirectory, validationResult, call | |||
* | |||
* @param {string} Absolute path to the package zip file | |||
* @param {string} the destination directory | |||
* @param {{disabledDirectory:string}} additional settings to control the installation | |||
* @param {{disabledDirectory:string, apiVersion:string}} required additional settings to control the installation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add the optional nameHint property here too for me? Sorry about the oversight.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the required params, we should change the "?"s to "!"s in the JSON docs below too.
@dangoor: done reviewing. Just a few nits. |
OK, comments addressed (adjusted the comments to reflect required/optional status, made two tests that check that apiVersion and disabledDirectory are both required) |
Travis is happy and the comments were nits, so I'm going to go ahead and merge. |
Make disabledDirectory and apiVersion required for extension installation
Seems reasonable to me -- thanks |
For #3159, addressing comments that disabledVersion and apiVersion should be required for the extension installation function.