Skip to content

Commit

Permalink
fix: Fix compiler errors and remove logs plugin (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarlow12 authored Aug 29, 2019
1 parent ca2b0a0 commit 90f71a9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 27 deletions.
2 changes: 0 additions & 2 deletions src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import AzureIndex from "./index";
import { MockFactory } from "./test/mockFactory"
import { AzureInvokePlugin } from "./plugins/invoke/azureInvokePlugin";
import { AzureLogsPlugin } from "./plugins/logs/azureLogsPlugin";
import { AzureRemovePlugin } from "./plugins/remove/azureRemovePlugin";
import { AzurePackagePlugin } from "./plugins/package/azurePackagePlugin";
import { AzureDeployPlugin } from "./plugins/deploy/azureDeployPlugin";
Expand All @@ -21,7 +20,6 @@ describe("Azure Index", () => {

expect(sls.pluginManager.addPlugin).toBeCalledWith(AzurePackagePlugin);
expect(sls.pluginManager.addPlugin).toBeCalledWith(AzureInvokePlugin);
expect(sls.pluginManager.addPlugin).toBeCalledWith(AzureLogsPlugin);
expect(sls.pluginManager.addPlugin).toBeCalledWith(AzureRemovePlugin);
expect(sls.pluginManager.addPlugin).toBeCalledWith(AzureLoginPlugin);
expect(sls.pluginManager.addPlugin).toBeCalledWith(AzureDeployPlugin);
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ whole provider implementation.
import Serverless from "serverless";
import AzureProvider from "./provider/azureProvider";
import { AzureInvokePlugin } from "./plugins/invoke/azureInvokePlugin";
import { AzureLogsPlugin } from "./plugins/logs/azureLogsPlugin";
import { AzureRemovePlugin } from "./plugins/remove/azureRemovePlugin";
import { AzurePackagePlugin } from "./plugins/package/azurePackagePlugin";
import { AzureDeployPlugin } from "./plugins/deploy/azureDeployPlugin";
Expand All @@ -26,7 +25,6 @@ export default class AzureIndex {
// To be refactored
this.serverless.pluginManager.addPlugin(AzurePackagePlugin);
this.serverless.pluginManager.addPlugin(AzureInvokePlugin);
this.serverless.pluginManager.addPlugin(AzureLogsPlugin);
this.serverless.pluginManager.addPlugin(AzureRemovePlugin);
// Refactored
this.serverless.pluginManager.addPlugin(AzureLoginPlugin);
Expand Down
23 changes: 0 additions & 23 deletions src/plugins/logs/azureLogsPlugin.ts

This file was deleted.

0 comments on commit 90f71a9

Please sign in to comment.