Skip to content

Commit

Permalink
Lint and other minor
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed Dec 18, 2023
1 parent 601e033 commit 07e767f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/cmd/logic-function.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const { slugify } = require('../lib/utilities');

const logicFunctionTemplatePath = path.join(__dirname, '/../../assets/logicFunction');
const CLICommandBase = require('./base');
const { config } = require('yargs');

/**
* Commands for managing encryption keys.
Expand Down Expand Up @@ -151,8 +150,8 @@ module.exports = class LogicFunctionsCommand extends CLICommandBase {
async _prompt({ type, name, message, choices, nonInteractiveError, force }) {
if (force) {
const result = {};
result[name] = 'a';
return result;
result[name] = 'a';
return result;
}
const question = {
type,
Expand Down
4 changes: 1 addition & 3 deletions test/e2e/logic-function.e2e.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
const { expect } = require('../setup');
const cli = require('../lib/cli');
const fs = require('fs-extra');
const { PATH_TMP_DIR, USERNAME, PATH_FIXTURES_LOGIC_FUNCTIONS } = require('../lib/env');
const { PATH_TMP_DIR, PATH_FIXTURES_LOGIC_FUNCTIONS } = require('../lib/env');
const path = require('path');
const { delay } = require('../lib/mocha-utils');
const os = require('os');

describe('Logic Function Commands', () => {
let id;
Expand Down

0 comments on commit 07e767f

Please sign in to comment.