diff --git a/src/cli/command-implemntations.ts b/src/cli/command-implementations.ts similarity index 100% rename from src/cli/command-implemntations.ts rename to src/cli/command-implementations.ts diff --git a/src/main.ts b/src/main.ts index 16737d70..f7b0fbf3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -40,7 +40,7 @@ import {buildApprovalCommands} from './cfn/approval/cli' export function lazyLoad(fnname: keyof Commands): Handler { return (args) => { - const {implementations} = require('./cli/command-implemntations'); + const {implementations} = require('./cli/command-implementations'); return implementations[fnname](args); } } diff --git a/src/tests/test-cli.ts b/src/tests/test-cli.ts index 64c139d0..8041f483 100644 --- a/src/tests/test-cli.ts +++ b/src/tests/test-cli.ts @@ -1,7 +1,7 @@ import {expect} from 'chai'; import {buildArgs, lazyLoad} from "../main"; -import {implementations} from "../cli/command-implemntations"; +import {implementations} from "../cli/command-implementations"; import {} from "../cfn/approval/cli"; import {} from "../cfn/approval/index"; @@ -21,7 +21,7 @@ describe('cli', () => { it('lazy loaded implementations are loadable', () => { expect(typeof lazyLoad('createStackMain')).to.equal('function'); expect(implementations.createStackMain).to.equal( - require('../cli/command-implemntations').implementations.createStackMain); + require('../cli/command-implementations').implementations.createStackMain); }); });