1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

chore: lint fix

This commit is contained in:
2022-11-17 17:49:00 +05:00
parent 200f6c596a
commit b86ba5b8a3
2 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ import {
configureLogger,
configureSecurity
} from './app-modules'
import {folderExists} from '@sasjs/utils'
import { folderExists } from '@sasjs/utils'
dotenv.config()
@@ -73,10 +73,12 @@ export default setProcessVariables().then(async () => {
if (!(await folderExists(getFilesFolder()))) await setupFilesFolder()
if (!(await folderExists(getPackagesFolder()))) await setupPackagesFolder()
const sasautosPath = path.join(process.driveLoc, 'sas', 'sasautos')
if (await folderExists(sasautosPath)) {
console.log(`SASAUTOS was not refreshed. To force a refresh, delete the ${sasautosPath} folder`)
console.log(
`SASAUTOS was not refreshed. To force a refresh, delete the ${sasautosPath} folder`
)
} else {
await copySASjsCore()
await createWeboutSasFile()

View File

@@ -1,9 +1,7 @@
import { createFolder } from '@sasjs/utils'
import { getFilesFolder, getPackagesFolder } from './file'
export const setupFilesFolder = async () =>
await createFolder(getFilesFolder())
export const setupFilesFolder = async () => await createFolder(getFilesFolder())
export const setupPackagesFolder = async () =>
await createFolder(getPackagesFolder())