Revert "Add FS state feature"

This reverts commit e6f5465b76.
This commit is contained in:
Henry Mercer
2026-10-12 11:56:51 +01:00
parent 3715f86254
commit f3c4091584
2 changed files with 0 additions and 8 deletions

View File

@@ -6,7 +6,6 @@ import { ActionsEnv, getActionsEnv } from "./actions-util";
import type { ApiClient } from "./api-client";
import { Env, ReadOnlyEnv } from "./environment";
import type { FeatureEnablement } from "./feature-flags";
import type { FileSystem } from "./fs";
import { getActionsLogger, Logger } from "./logging";
import {
ActionName,
@@ -56,10 +55,6 @@ export interface FeatureState {
/** Information about enabled feature flags. */
features: FeatureEnablement;
};
FS: {
/** The file system operations to use. */
fs: FileSystem;
};
}
/** Identifies a type of state an Action may have. */

View File

@@ -1,4 +1,3 @@
import * as fs from "fs";
import { TextDecoder } from "node:util";
import * as os from "os";
import path from "path";
@@ -222,7 +221,6 @@ type AllState = [
"Actions",
"Api",
"FeatureFlags",
"FS",
];
/** Initialise a fresh `ActionState<AllState>` value. */
@@ -241,7 +239,6 @@ export function initAllState(
actions: getTestActionsEnv(env),
apiClient: github.getOctokit("123"),
features: createFeatures([]),
fs,
...overrides,
};
}