Removed comments

This commit is contained in:
Sankalp Kotewar 2022-12-09 12:59:43 +00:00 committed by GitHub
parent 0c2d18e609
commit 61aa90bfc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 11 deletions

View file

@ -9376,7 +9376,6 @@ class StateProviderBase {
class StateProvider extends StateProviderBase { class StateProvider extends StateProviderBase {
constructor() { constructor() {
super(...arguments); super(...arguments);
//setOutput = core.setOutput;
this.setState = core.saveState; this.setState = core.saveState;
this.getState = core.getState; this.getState = core.getState;
} }
@ -9385,7 +9384,6 @@ exports.StateProvider = StateProvider;
class NullStateProvider extends StateProviderBase { class NullStateProvider extends StateProviderBase {
constructor() { constructor() {
super(...arguments); super(...arguments);
//setOutput = core.setOutput;
this.setState = core.setOutput; this.setState = core.setOutput;
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
this.getState = (key) => ""; this.getState = (key) => "";

View file

@ -9376,7 +9376,6 @@ class StateProviderBase {
class StateProvider extends StateProviderBase { class StateProvider extends StateProviderBase {
constructor() { constructor() {
super(...arguments); super(...arguments);
//setOutput = core.setOutput;
this.setState = core.saveState; this.setState = core.saveState;
this.getState = core.getState; this.getState = core.getState;
} }
@ -9385,7 +9384,6 @@ exports.StateProvider = StateProvider;
class NullStateProvider extends StateProviderBase { class NullStateProvider extends StateProviderBase {
constructor() { constructor() {
super(...arguments); super(...arguments);
//setOutput = core.setOutput;
this.setState = core.setOutput; this.setState = core.setOutput;
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
this.getState = (key) => ""; this.getState = (key) => "";

View file

@ -9405,7 +9405,6 @@ class StateProviderBase {
class StateProvider extends StateProviderBase { class StateProvider extends StateProviderBase {
constructor() { constructor() {
super(...arguments); super(...arguments);
//setOutput = core.setOutput;
this.setState = core.saveState; this.setState = core.saveState;
this.getState = core.getState; this.getState = core.getState;
} }
@ -9414,7 +9413,6 @@ exports.StateProvider = StateProvider;
class NullStateProvider extends StateProviderBase { class NullStateProvider extends StateProviderBase {
constructor() { constructor() {
super(...arguments); super(...arguments);
//setOutput = core.setOutput;
this.setState = core.setOutput; this.setState = core.setOutput;
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
this.getState = (key) => ""; this.getState = (key) => "";

2
dist/save/index.js vendored
View file

@ -9376,7 +9376,6 @@ class StateProviderBase {
class StateProvider extends StateProviderBase { class StateProvider extends StateProviderBase {
constructor() { constructor() {
super(...arguments); super(...arguments);
//setOutput = core.setOutput;
this.setState = core.saveState; this.setState = core.saveState;
this.getState = core.getState; this.getState = core.getState;
} }
@ -9385,7 +9384,6 @@ exports.StateProvider = StateProvider;
class NullStateProvider extends StateProviderBase { class NullStateProvider extends StateProviderBase {
constructor() { constructor() {
super(...arguments); super(...arguments);
//setOutput = core.setOutput;
this.setState = core.setOutput; this.setState = core.setOutput;
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
this.getState = (key) => ""; this.getState = (key) => "";

View file

@ -3,7 +3,6 @@ import * as core from "@actions/core";
import { State } from "./constants"; import { State } from "./constants";
export interface IStateProvider { export interface IStateProvider {
//setOutput(key: string, value: string): void;
setState(key: string, value: string): void; setState(key: string, value: string): void;
getState(key: string): string; getState(key: string): string;
@ -29,13 +28,11 @@ class StateProviderBase implements IStateProvider {
} }
export class StateProvider extends StateProviderBase { export class StateProvider extends StateProviderBase {
//setOutput = core.setOutput;
setState = core.saveState; setState = core.saveState;
getState = core.getState; getState = core.getState;
} }
export class NullStateProvider extends StateProviderBase { export class NullStateProvider extends StateProviderBase {
//setOutput = core.setOutput;
setState = core.setOutput; setState = core.setOutput;
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
getState = (key: string) => ""; getState = (key: string) => "";