We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721e95c commit 43b5717Copy full SHA for 43b5717
lib/Options.js
@@ -10,16 +10,16 @@ const log = Minilog('ui5-schemas');
10
11
class Options {
12
constructor(options) {
13
- if (options.origin) {
+ this.options = options;
14
+
15
+ if (this.options.origin) {
16
// ignore sdk/version if origin is provided
- delete options.version;
- delete options.sdk;
17
- } else if (options.sdk === 'openui5nightly') {
+ delete this.options.version;
18
+ delete this.options.sdk;
19
+ } else if (this.options.sdk === 'openui5nightly') {
20
// ignore version if openui5nightly
21
22
}
-
- this.options = options;
23
24
25
async initialize() {
0 commit comments