From 3fad8e94f5def68c31a6e015c241c599c51e81e6 Mon Sep 17 00:00:00 2001 From: Saad Jutt Date: Tue, 9 Nov 2021 19:05:43 +0500 Subject: [PATCH] chore: updated to lts node version --- .github/workflows/build.yml | 6 +++--- api/src/controllers/index.ts | 1 - api/src/routes/api/drive.ts | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ef25ed..4c35ee5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [lts/*] steps: - uses: actions/checkout@v2 @@ -32,7 +32,7 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [lts/*] steps: - uses: actions/checkout@v2 @@ -65,7 +65,7 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [lts/*] steps: - uses: actions/checkout@v2 diff --git a/api/src/controllers/index.ts b/api/src/controllers/index.ts index 5125e4b..86939a2 100644 --- a/api/src/controllers/index.ts +++ b/api/src/controllers/index.ts @@ -1,5 +1,4 @@ export * from './deploy' -export * from './drive' export * from './Session' export * from './Execution' export * from './FileUploadController' diff --git a/api/src/routes/api/drive.ts b/api/src/routes/api/drive.ts index 6c98f5a..391e5b1 100644 --- a/api/src/routes/api/drive.ts +++ b/api/src/routes/api/drive.ts @@ -1,6 +1,7 @@ import express from 'express' import path from 'path' -import { DriveController, ExecutionController } from '../../controllers' +import { ExecutionController } from '../../controllers' +import { DriveController } from '../../controllers/drive' import { isFileQuery } from '../../types' import { getTmpFilesFolderPath } from '../../utils'