Skip to content

Commit a4ef5fe

Browse files
committed
chore: remove unused render functions
1 parent 0a65b11 commit a4ef5fe

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

src/cmd/api.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -472,16 +472,6 @@ module.exports = class ParticleApi {
472472
}));
473473
}
474474

475-
renderEnvVars({ sandbox, org, productId, deviceId }) {
476-
const uri = getEnvVarsUri({ sandbox, org, productId, deviceId })
477-
.concat('/render');
478-
return this._wrap(this.api.request({
479-
uri,
480-
method: 'get',
481-
auth: this.accessToken
482-
}));
483-
}
484-
485475

486476
_wrap(promise){
487477
return Promise.resolve(promise)

src/cmd/env.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,6 @@ module.exports = class EnvVarsCommand extends CLICommandBase {
130130
}
131131
}
132132

133-
_writeRenderBlock(keys, env) {
134-
this.ui.write(this.ui.chalk.cyan(this.ui.chalk.bold('Environment variables:')));
135-
this.ui.write('---------------------------------------------');
136-
keys.forEach((key) => {
137-
this.ui.write(` ${key} : ${env[key]}`);
138-
});
139-
this.ui.write('---------------------------------------------');
140-
};
141-
142133
_buildEnvVarOperation({ key, value, operation }) {
143134
const validOperations = ['Set', 'Unset'];
144135
if (!validOperations.includes(operation)) {

0 commit comments

Comments
 (0)