mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-23 12:36:01 +01:00
Removed comments
This commit is contained in:
parent
0c2d18e609
commit
61aa90bfc3
5 changed files with 0 additions and 11 deletions
2
dist/restore-only/index.js
vendored
2
dist/restore-only/index.js
vendored
|
@ -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) => "";
|
||||||
|
|
2
dist/restore/index.js
vendored
2
dist/restore/index.js
vendored
|
@ -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) => "";
|
||||||
|
|
2
dist/save-only/index.js
vendored
2
dist/save-only/index.js
vendored
|
@ -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
2
dist/save/index.js
vendored
|
@ -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) => "";
|
||||||
|
|
|
@ -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) => "";
|
||||||
|
|
Loading…
Reference in a new issue