chore: initial commit fix linting issues (#2169)

* chore: lint fixes
This commit is contained in:
Carlos R. L. Rodrigues
2022-09-21 12:19:03 -03:00
committed by GitHub
parent c661cc789b
commit eb8034502b
122 changed files with 543 additions and 439 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import chokidar from "chokidar"
import Logger from "../loaders/logger"
export default async function({ port, directory }) {
export default async function ({ port, directory }) {
const args = process.argv
args.shift()
args.shift()
@@ -35,7 +35,7 @@ export default async function({ port, directory }) {
child.kill("SIGINT")
execSync(`${babelPath} src -d dist --extensions \".ts,.js\"`, {
execSync(`${babelPath} src -d dist --extensions ".ts,.js"`, {
cwd: directory,
stdio: ["pipe", process.stdout, process.stderr],
})
+1 -1
View File
@@ -34,5 +34,5 @@ export default async function ({ port, directory }) {
return { dbConnection, server }
}
let { dbConnection, server } = await start()
const { dbConnection, server } = await start()
}
+1 -1
View File
@@ -6,7 +6,7 @@ import { track } from "medusa-telemetry"
import loaders from "../loaders"
export default async function({ directory, id, email, password, keepAlive }) {
export default async function ({ directory, id, email, password, keepAlive }) {
track("CLI_USER", { with_id: !!id })
const app = express()
try {