Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JettTech committed Aug 26, 2024
1 parent 30cf7c9 commit a57e7e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ts/src/local/scenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class Scenario {
const conductor = await createConductor(this.signalingServerUrl, {
timeout: this.timeout,
bootstrapServerUrl: this.bootstrapServerUrl,
noDpki
noDpki,
});
this.conductors.push(conductor);
return conductor;
Expand Down
9 changes: 5 additions & 4 deletions ts/src/trycp/conductor/conductor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const HOLO_SIGNALING_SERVER = new URL("wss://sbd-0.main.infra.holo.host");
const HOLO_BOOTSTRAP_SERVEr = new URL("https://devnet-bootstrap.holo.host");
const BOOTSTRAP_SERVER_PLACEHOLDER = "<bootstrap_server_url>";
const SIGNALING_SERVER_PLACEHOLDER = "<signaling_server_url>";
const DPKI_CONFIG_DEFAULT = "~"
const DPKI_CONFIG_DEFAULT = "~";

/**
* The default partial config for a TryCP conductor.
Expand Down Expand Up @@ -197,7 +197,7 @@ export class TryCpConductor implements IConductor {
* @param partialConfig - The configuration to add to the default configuration.
* @returns An empty success response.
*/
async configure(partialConfig?: string, noDpki: boolean = false) {
async configure(partialConfig?: string, noDpki = false) {
if (!partialConfig) {
partialConfig = DEFAULT_PARTIAL_PLAYER_CONFIG.replace(
BOOTSTRAP_SERVER_PLACEHOLDER,
Expand All @@ -212,14 +212,15 @@ export class TryCpConductor implements IConductor {
`
dna_path: None
device_seed_lair_tag: "disabled"
no_dpki: true`)
no_dpki: true`
);
}
}

const response = await this.tryCpClient.call({
type: "configure_player",
id: this.id,
partial_config: partialConfig
partial_config: partialConfig,
});
assert(response === TRYCP_SUCCESS_RESPONSE);
return response;
Expand Down

0 comments on commit a57e7e7

Please sign in to comment.