Skip to content

Commit 946906a

Browse files
authored
Merge pull request #113 from zotoio/fix/missedVariable
fix(ldutils): fixed missing variable handling causing a non-zero response to return
2 parents 3c7d634 + 098dded commit 946906a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ldutils

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ new LaunchDarklyUtils().create(process.env.LAUNCHDARKLY_API_TOKEN, log).then(ldU
2727
.description('get all the projects associated with the account')
2828
.action(() => {
2929
ldUtils.projects.getProjects().then(response => {
30-
console.log(json.plain(reponse));
30+
console.log(json.plain(response));
3131
});
3232
});
3333

@@ -57,7 +57,7 @@ new LaunchDarklyUtils().create(process.env.LAUNCHDARKLY_API_TOKEN, log).then(ldU
5757
defaultClientSideAvailability
5858
)
5959
.then(response => {
60-
console.log(json.plain(reponse));
60+
console.log(json.plain(response));
6161
});
6262
}
6363
);
@@ -67,7 +67,7 @@ new LaunchDarklyUtils().create(process.env.LAUNCHDARKLY_API_TOKEN, log).then(ldU
6767
.description('delete a project by the specified projectKey')
6868
.action(projectKey => {
6969
ldUtils.projects.deleteProject(projectKey).then(response => {
70-
console.log(json.plain(reponse));
70+
console.log(json.plain(response));
7171
});
7272
});
7373

0 commit comments

Comments
 (0)