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 e93083b commit ad486dfCopy full SHA for ad486df
addon/ng2/commands/set.ts
@@ -32,8 +32,8 @@ const SetCommand = Command.extend({
32
return new Promise(resolve => {
33
const [jsonPath, rawValue] = rawArgs;
34
const config = CliConfig.fromProject();
35
- const type = config.typeOf(rawArgs[0]);
36
- let value = rawValue;
+ const type = config.typeOf(jsonPath);
+ let value: any = rawValue;
37
38
switch (type) {
39
case 'boolean': value = this.asBoolean(rawValue); break;
tests/acceptance/config.spec.js
0 commit comments