Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSinclair committed Nov 13, 2024
1 parent c69322a commit 11c23c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions packages/bpp/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import { debug, getInput, info, setFailed, warning } from "@actions/core"

import {
BrowserName,
submitChrome,
submitEdge,
submitFirefox,
submitItero,
supportedBrowserSet,
type ChromeOptions,
type CommonOptions,
type EdgeOptions,
type FirefoxOptions,
type IteroOptions,
type OperaOptions,
submitChrome,
submitEdge,
submitFirefox,
submitItero,
supportedBrowserSet
type OperaOptions
} from "@plasmohq/bms"

type Keys = {
Expand All @@ -37,7 +38,8 @@ async function run(): Promise<void> {
// Path to the zip file to be deployed
const artifact = getInput("file") || getInput("zip") || getInput("artifact")
// Path to the source zip file for firefox submissions
const source = getInput("source") || getInput("sourceFile") || getInput("sourceZip")
const source =
getInput("source") || getInput("sourceFile") || getInput("sourceZip")

const versionFile = getInput("version-file")

Expand Down
4 changes: 2 additions & 2 deletions packages/bpp/tests/main.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { expect, test } from "@jest/globals"
import { type ExecFileSyncOptions, execFileSync } from "child_process"
import { execFileSync, type ExecFileSyncOptions } from "child_process"
import { readFile } from "fs/promises"
import { resolve } from "path"
import { cwd, env, execPath } from "process"
import { expect, test } from "@jest/globals"

const indexScript = resolve(cwd(), "dist", "index.js")

Expand Down

0 comments on commit 11c23c9

Please sign in to comment.