Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Vydolob <[email protected]>
  • Loading branch information
evidolob committed Jun 22, 2021
1 parent 73251c1 commit 646b917
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/languageservice/services/yamlCompletion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -974,9 +974,6 @@ export class YAMLCompletion extends JSONCompletion {
if (Array.isArray(value)) {
return JSON.stringify(value);
}
if (typeof value === 'object') {
return JSON.stringify(value);
}
return value as string;
}

Expand Down

0 comments on commit 646b917

Please sign in to comment.