Skip to content

Commit ad486df

Browse files
committed
Done comments
1 parent e93083b commit ad486df

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

addon/ng2/commands/set.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const SetCommand = Command.extend({
3232
return new Promise(resolve => {
3333
const [jsonPath, rawValue] = rawArgs;
3434
const config = CliConfig.fromProject();
35-
const type = config.typeOf(rawArgs[0]);
36-
let value = rawValue;
35+
const type = config.typeOf(jsonPath);
36+
let value: any = rawValue;
3737

3838
switch (type) {
3939
case 'boolean': value = this.asBoolean(rawValue); break;

tests/acceptance/config.spec.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)