mirror of
https://github.com/actions/cache.git
synced 2024-11-15 22:43:51 +08:00
Removed comments
This commit is contained in:
parent
0c2d18e609
commit
61aa90bfc3
2
dist/restore-only/index.js
vendored
2
dist/restore-only/index.js
vendored
@ -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) => "";
|
||||
|
2
dist/restore/index.js
vendored
2
dist/restore/index.js
vendored
@ -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) => "";
|
||||
|
2
dist/save-only/index.js
vendored
2
dist/save-only/index.js
vendored
@ -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) => "";
|
||||
|
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
@ -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) => "";
|
||||
|
@ -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) => "";
|
||||
|
Loading…
Reference in New Issue
Block a user