From 61aa90bfc355d06cab9a230b3d8a51d46347242c Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Fri, 9 Dec 2022 12:59:43 +0000 Subject: [PATCH] Removed comments --- dist/restore-only/index.js | 2 -- dist/restore/index.js | 2 -- dist/save-only/index.js | 2 -- dist/save/index.js | 2 -- src/stateProvider.ts | 3 --- 5 files changed, 11 deletions(-) diff --git a/dist/restore-only/index.js b/dist/restore-only/index.js index ffd5677..2be8885 100644 --- a/dist/restore-only/index.js +++ b/dist/restore-only/index.js @@ -9376,7 +9376,6 @@ class StateProviderBase { class StateProvider extends StateProviderBase { constructor() { super(...arguments); - //setOutput = core.setOutput; this.setState = core.saveState; this.getState = core.getState; } @@ -9385,7 +9384,6 @@ exports.StateProvider = StateProvider; class NullStateProvider extends StateProviderBase { constructor() { super(...arguments); - //setOutput = core.setOutput; this.setState = core.setOutput; // eslint-disable-next-line @typescript-eslint/no-unused-vars this.getState = (key) => ""; diff --git a/dist/restore/index.js b/dist/restore/index.js index ee2e7c6..b300147 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -9376,7 +9376,6 @@ class StateProviderBase { class StateProvider extends StateProviderBase { constructor() { super(...arguments); - //setOutput = core.setOutput; this.setState = core.saveState; this.getState = core.getState; } @@ -9385,7 +9384,6 @@ exports.StateProvider = StateProvider; class NullStateProvider extends StateProviderBase { constructor() { super(...arguments); - //setOutput = core.setOutput; this.setState = core.setOutput; // eslint-disable-next-line @typescript-eslint/no-unused-vars this.getState = (key) => ""; diff --git a/dist/save-only/index.js b/dist/save-only/index.js index 44bc3ad..1e38452 100644 --- a/dist/save-only/index.js +++ b/dist/save-only/index.js @@ -9405,7 +9405,6 @@ class StateProviderBase { class StateProvider extends StateProviderBase { constructor() { super(...arguments); - //setOutput = core.setOutput; this.setState = core.saveState; this.getState = core.getState; } @@ -9414,7 +9413,6 @@ exports.StateProvider = StateProvider; class NullStateProvider extends StateProviderBase { constructor() { super(...arguments); - //setOutput = core.setOutput; this.setState = core.setOutput; // eslint-disable-next-line @typescript-eslint/no-unused-vars this.getState = (key) => ""; diff --git a/dist/save/index.js b/dist/save/index.js index e3bb5dd..9e3cec7 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -9376,7 +9376,6 @@ class StateProviderBase { class StateProvider extends StateProviderBase { constructor() { super(...arguments); - //setOutput = core.setOutput; this.setState = core.saveState; this.getState = core.getState; } @@ -9385,7 +9384,6 @@ exports.StateProvider = StateProvider; class NullStateProvider extends StateProviderBase { constructor() { super(...arguments); - //setOutput = core.setOutput; this.setState = core.setOutput; // eslint-disable-next-line @typescript-eslint/no-unused-vars this.getState = (key) => ""; diff --git a/src/stateProvider.ts b/src/stateProvider.ts index 50e1b29..1d43af4 100644 --- a/src/stateProvider.ts +++ b/src/stateProvider.ts @@ -3,7 +3,6 @@ import * as core from "@actions/core"; import { State } from "./constants"; export interface IStateProvider { - //setOutput(key: string, value: string): void; setState(key: string, value: string): void; getState(key: string): string; @@ -29,13 +28,11 @@ class StateProviderBase implements IStateProvider { } export class StateProvider extends StateProviderBase { - //setOutput = core.setOutput; setState = core.saveState; getState = core.getState; } export class NullStateProvider extends StateProviderBase { - //setOutput = core.setOutput; setState = core.setOutput; // eslint-disable-next-line @typescript-eslint/no-unused-vars getState = (key: string) => "";