Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
boristane committed Oct 30, 2023
1 parent c529b25 commit dbe433e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.0.82] 2023-10-30
## [0.0.83] 2023-10-30
### Deleted
- The service field in alerts, queries and dashboards

Expand Down
2 changes: 1 addition & 1 deletion src/commands/query/handlers/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function getApplicableDatasets(): Promise<Dataset[]> {
return datasets;
}

async function interactive(input: { queryId: string; format: OutputFormat; from: string; to: string; granularity: string; config: UserConfig }) {
async function interactive(input: { queryId: string; format: OutputFormat; from: string; to: string; granularity: string; config: UserConfig }) {
const s = spinner.get();
const { queryId, format, config } = input;
let { from, to, granularity } = input;
Expand Down
4 changes: 1 addition & 3 deletions src/commands/query/handlers/outputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ function getQueryRun(data: { queryRun: QueryRun; aggregates?: Aggregates; series
});
}
console.log();
console.log(
`Explore the query results: https://console.${BASELIME_DOMAIN}/${queryRun.workspaceId}/${queryRun.environmentId}/queries/${queryRun.query.id}/${queryRun.id}`,
);
console.log(`Explore the query results: https://console.${BASELIME_DOMAIN}/${queryRun.workspaceId}/${queryRun.environmentId}/queries/${queryRun.query.id}/${queryRun.id}`);
}

function getChartData(data: { aggregates?: Aggregates; series: Series[] }) {
Expand Down
1 change: 0 additions & 1 deletion src/commands/query/prompts/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { KeySet } from "../../../services/api/paths/keys";
import ms from "ms";
import { Dataset } from "../../../services/api/paths/datasets";


export async function promptQuerySelect(): Promise<Query | undefined> {
const s = spinner.get();
s.start("Fetching your queries...");
Expand Down
2 changes: 1 addition & 1 deletion src/commands/report/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const builder: CommandBuilder<Options, Options> = (yargs) => {
};

export async function handler(argv: Arguments<Options>) {
const { channel, path, quiet, } = argv;
const { channel, path, quiet } = argv;

let status = await commonHandler(quiet, path);

Expand Down
4 changes: 2 additions & 2 deletions src/services/api/paths/reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ export interface GitHubReportData {
repo: { owner: string; name: string };
prNumber?: number;
commit?: string;
status: { version: string; alertChecks: AlertCheck[]; };
status: { version: string; alertChecks: AlertCheck[] };
token: string;
}

export interface SlackReportData {
channel: string;
status: { version: string; alertChecks: AlertCheck[]; };
status: { version: string; alertChecks: AlertCheck[] };
}

async function reportGithubCreate(data: GitHubReportData): Promise<boolean> {
Expand Down

0 comments on commit dbe433e

Please sign in to comment.