Fix Quality Issues using DeepSource (#1183)

Co-authored-by: DeepSource Bot <bot@deepsource.io>
This commit is contained in:
Moulik Aggarwal
2020-09-24 20:46:20 +05:30
committed by GitHub
parent 2e423b101b
commit b2ef26600c
14 changed files with 31 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ const PW_BUILD_DATA_DIR = "./.hoppscotch"
// const IS_DEV_MODE = process.argv.includes("--dev")
try {
;(async () => {
(async () => {
// Create the build data directory if it does not exist.
if (!fs.existsSync(PW_BUILD_DATA_DIR)) {
fs.mkdirSync(PW_BUILD_DATA_DIR)