Skip to content

Commit

Permalink
fix format and build
Browse files Browse the repository at this point in the history
  • Loading branch information
qetza committed May 1, 2024
1 parent a2d075c commit a21a17a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63752,8 +63752,10 @@ async function run() {
switch (ifNoFilesFound) {
case 'warn':
core.warning('No files were found with provided sources.');
break;
case 'error':
core.setFailed('No files were found with provided sources.');
break;
default:
core.info('No files were found with provided sources.');
}
Expand Down
6 changes: 3 additions & 3 deletions tests/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ describe('run', () => {
}
});

replaceTokenSpy.mockResolvedValue({ defaults: 0, files: 0, replaced: 0, tokens: 0, transforms: 0 })
replaceTokenSpy.mockResolvedValue({ defaults: 0, files: 0, replaced: 0, tokens: 0, transforms: 0 });

// act
await run();
Expand All @@ -690,7 +690,7 @@ describe('run', () => {
}
});

replaceTokenSpy.mockResolvedValue({ defaults: 0, files: 0, replaced: 0, tokens: 0, transforms: 0 })
replaceTokenSpy.mockResolvedValue({ defaults: 0, files: 0, replaced: 0, tokens: 0, transforms: 0 });

// act
await run();
Expand All @@ -712,7 +712,7 @@ describe('run', () => {
}
});

replaceTokenSpy.mockResolvedValue({ defaults: 0, files: 0, replaced: 0, tokens: 0, transforms: 0 })
replaceTokenSpy.mockResolvedValue({ defaults: 0, files: 0, replaced: 0, tokens: 0, transforms: 0 });

// act
await run();
Expand Down

0 comments on commit a21a17a

Please sign in to comment.