Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Sep 20, 2024
1 parent 49e21e4 commit 4296980
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion dist/publish-crates-cargo-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -81324,7 +81324,10 @@ async function spawn() {
},
stdio: "inherit",
};
await _cargo__WEBPACK_IMPORTED_MODULE_5__/* .installBinaryCached */ .Mj(name, { gitUrl: _config__WEBPACK_IMPORTED_MODULE_6__/* .config.lock.git.estuary.url */ .v.lock.git.estuary.url, gitBranch: _config__WEBPACK_IMPORTED_MODULE_6__/* .config.lock.git.estuary.branch */ .v.lock.git.estuary.branch });
await _cargo__WEBPACK_IMPORTED_MODULE_5__/* .installBinaryCached */ .Mj(name, {
gitUrl: _config__WEBPACK_IMPORTED_MODULE_6__/* .config.lock.git.estuary.url */ .v.lock.git.estuary.url,
gitBranch: _config__WEBPACK_IMPORTED_MODULE_6__/* .config.lock.git.estuary.branch */ .v.lock.git.estuary.branch,
});
const proc = child_process__WEBPACK_IMPORTED_MODULE_0__.spawn("estuary", ["--base-url", baseUrl, "--crate-dir", crateDir, "--index-dir", indexDir], options);
_actions_core__WEBPACK_IMPORTED_MODULE_4__.info(`Spawned estuary (${proc.pid}) with base URL ${baseUrl} and data directory ${tmp}`);
return { name, index, token, crateDir, indexDir, proc };
Expand Down
7 changes: 5 additions & 2 deletions src/estuary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { join } from "path";
import * as core from "@actions/core";

import * as cargo from "./cargo";
import { config } from "./config"
import { config } from "./config";

const name = "estuary";
const baseUrl = "http://localhost:7878";
Expand Down Expand Up @@ -37,7 +37,10 @@ export async function spawn(): Promise<Estuary> {
stdio: "inherit",
} as child_process.SpawnOptions;

await cargo.installBinaryCached(name, { gitUrl: config.lock.git.estuary.url, gitBranch: config.lock.git.estuary.branch });
await cargo.installBinaryCached(name, {
gitUrl: config.lock.git.estuary.url,
gitBranch: config.lock.git.estuary.branch,
});

const proc = child_process.spawn(
"estuary",
Expand Down

0 comments on commit 4296980

Please sign in to comment.