microsoft / vscode-vsce

VS Code Extension Manager
https://code.visualstudio.com/
Other
799 stars 204 forks source link

README has a word misuse #470

Closed Ivan-Kouznetsov closed 4 years ago

Ivan-Kouznetsov commented 4 years ago

Warning: When using vsce as a library be sure to sanitize any user input used in API calls, as a security measurement.

Should be

Warning: When using vsce as a library be sure to sanitize any user input used in API calls, as a security measure.

A measure is (among other definitions): " a step planned or taken as a means to an end. Ex: took strong measures against the rebels" https://www.merriam-webster.com/dictionary/measure

Measurement on the other hand is: "the act or process of measuring" https://www.merriam-webster.com/dictionary/measurement

gregvanl commented 4 years ago

Thanks for pointing this out!