Skip to content

Commit

Permalink
Merge branch 'main' into 1548
Browse files Browse the repository at this point in the history
  • Loading branch information
samayer12 authored Dec 13, 2024
2 parents 75180a0 + 2829066 commit c0843ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/runtime/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { peprStoreCRD } from "../lib/assets/store";
import { validateHash } from "../lib/helpers";
const { version } = packageJSON;

function runModule(expectedHash: string) {
function runModule(expectedHash: string): void {
const gzPath = `/app/load/module-${expectedHash}.js.gz`;
const jsPath = `/app/module-${expectedHash}.js`;

Expand Down Expand Up @@ -59,7 +59,7 @@ Log.info(`Pepr Controller (v${version})`);

const hash = process.argv[2];

const startup = async () => {
const startup = async (): Promise<void> => {
try {
Log.info("Applying the Pepr Store CRD if it doesn't exist");
await K8s(kind.CustomResourceDefinition).Apply(peprStoreCRD, { force: true });
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/heredoc.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Refs:
// - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates

export function heredoc(strings: TemplateStringsArray, ...values: string[]) {
export function heredoc(strings: TemplateStringsArray, ...values: string[]): string {
// shuffle strings & expression values back together
const zipped = strings
.reduce((acc: string[], cur, idx) => {
Expand Down

0 comments on commit c0843ee

Please sign in to comment.