GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix format · actions/cache@e718767

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • saveImpl.ts
    • saveOnly.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/saveImpl.ts‎

Copy file name to clipboardExpand all lines: src/saveImpl.ts
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import * as utils from "./utils/actionUtils";
1414
// throw an uncaught exception. Instead of failing this action, just warn.
1515
process.on("uncaughtException", e => utils.logWarning(e.message));
1616

17-
export async function saveImpl(stateProvider: IStateProvider): Promise<number | void> {
17+
export async function saveImpl(
18+
stateProvider: IStateProvider
19+
): Promise<number | void> {
1820
let cacheId = -1;
1921
try {
2022
if (!utils.isCacheFeatureAvailable()) {
@@ -76,7 +78,9 @@ export async function saveImpl(stateProvider: IStateProvider): Promise<number |
7678
return cacheId;
7779
}
7880

79-
export async function saveOnlyRun(earlyExit?: boolean | undefined): Promise<void> {
81+
export async function saveOnlyRun(
82+
earlyExit?: boolean | undefined
83+
): Promise<void> {
8084
try {
8185
const cacheId = await saveImpl(new NullStateProvider());
8286
if (cacheId === -1) {
@@ -118,4 +122,3 @@ export async function saveRun(earlyExit?: boolean | undefined): Promise<void> {
118122
process.exit(0);
119123
}
120124
}
121-
Collapse file

‎src/saveOnly.ts‎

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import { saveOnlyRun } from "./saveImpl";
22

3-
saveOnlyRun(true);
3+
saveOnlyRun(true);

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.