Skip to content

Commit 709a4d6

Browse files
committed
chore: lint
1 parent dcce422 commit 709a4d6

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import os from "node:os";
22
import webapi from "@slack/web-api";
33
import axios from "axios";
4+
import packageJson from "../package.json" with { type: "json" };
45
import Content from "./content.js";
56
import SlackError from "./errors.js";
67
import Logger from "./logger.js";
7-
import packageJson from "../package.json" with { type: "json" };
88

99
/**
1010
* Options and settings set as inputs to this action.

test/config.spec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ describe("config", () => {
163163
describe("instrument", () => {
164164
it("adds metadata to webapi with package name and version", async () => {
165165
const stub = sinon.stub();
166-
const original = Object.getOwnPropertyDescriptor(webapi, "addAppMetadata");
166+
const original = Object.getOwnPropertyDescriptor(
167+
webapi,
168+
"addAppMetadata",
169+
);
167170
Object.defineProperty(webapi, "addAppMetadata", {
168171
value: stub,
169172
configurable: true,

0 commit comments

Comments
 (0)