Skip to content

Commit e718767

Browse files
committed
Fix format
1 parent 0122982 commit e718767

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/saveImpl.ts

Lines 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-

src/saveOnly.ts

Lines 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)