We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 627ccd3 commit c6182cfCopy full SHA for c6182cf
lib/base-compiler.js
@@ -203,16 +203,10 @@ class BaseCompiler {
203
}
204
205
findLibVersion(selectedLib) {
206
- const foundLib = _.find(this.compiler.libs, (o, libId) => {
207
- return (libId === selectedLib.id);
208
- });
209
-
+ const foundLib = _.find(this.compiler.libs, (o, libId) => libId === selectedLib.id);
210
if (!foundLib) return false;
211
212
- const foundVersion = _.find(foundLib.versions, (o, versionId) => {
213
- return (versionId === selectedLib.version);
214
215
+ const foundVersion = _.find(foundLib.versions, (o, versionId) => versionId === selectedLib.version);
216
return foundVersion;
217
218
0 commit comments