Skip to content

Commit

Permalink
draft
Browse files Browse the repository at this point in the history
  • Loading branch information
katydecorah committed Jan 21, 2025
1 parent 76bf363 commit 8442230
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/axe-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { debug } from "@actions/core";
import Axe from "axe-core";
import { injectable } from "inversify";
let AxeInfo = class AxeInfo {
Expand All @@ -15,6 +16,7 @@ let AxeInfo = class AxeInfo {
this.axe = axe;
}
get version() {
debug(`Axe version: ${this.axe.version}`);
return this.axe.version;
}
};
Expand Down
2 changes: 2 additions & 0 deletions src/axe-info.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { debug } from "@actions/core";
import Axe from "axe-core";
import { injectable } from "inversify";

Expand All @@ -6,6 +7,7 @@ export class AxeInfo {
constructor(private readonly axe: typeof Axe = Axe) {}

public get version(): string {
debug(`Axe version: ${this.axe.version}`);
return this.axe.version;
}
}

0 comments on commit 8442230

Please sign in to comment.