From a2d13960578014312d2cb5e03145bfd1829d99ec Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Thu, 23 Jun 2022 09:00:22 +0000 Subject: [PATCH] fix: bumping core and running lint --- api/package-lock.json | 14 +++++++------- api/package.json | 2 +- api/src/utils/getRunTimeAndFilePath.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/api/package-lock.json b/api/package-lock.json index 6be30ee..a9e8a0f 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -8,7 +8,7 @@ "name": "api", "version": "0.0.2", "dependencies": { - "@sasjs/core": "^4.27.3", + "@sasjs/core": "^4.31.3", "@sasjs/utils": "2.42.1", "bcryptjs": "^2.4.3", "connect-mongo": "^4.6.0", @@ -1390,9 +1390,9 @@ } }, "node_modules/@sasjs/core": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.27.3.tgz", - "integrity": "sha512-8AaPPRGMwhmjw244CDSnTqHXdp/77ZBjIJMgwqw4wTrCf8Vzs2Y5hVihbvAniIGQctZHLMR6X5a3X4ccn9gRjg==" + "version": "4.31.3", + "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.31.3.tgz", + "integrity": "sha512-TpVqWl5bqp3JTQjIg0r4WiQg7Ima5f17eAJILJbdYDdXsnLXlA/Csbb95G7eDPhzWpM3C0NrzKek3yvCMGzXIA==" }, "node_modules/@sasjs/utils": { "version": "2.42.1", @@ -11595,9 +11595,9 @@ } }, "@sasjs/core": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.27.3.tgz", - "integrity": "sha512-8AaPPRGMwhmjw244CDSnTqHXdp/77ZBjIJMgwqw4wTrCf8Vzs2Y5hVihbvAniIGQctZHLMR6X5a3X4ccn9gRjg==" + "version": "4.31.3", + "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.31.3.tgz", + "integrity": "sha512-TpVqWl5bqp3JTQjIg0r4WiQg7Ima5f17eAJILJbdYDdXsnLXlA/Csbb95G7eDPhzWpM3C0NrzKek3yvCMGzXIA==" }, "@sasjs/utils": { "version": "2.42.1", diff --git a/api/package.json b/api/package.json index bbd4bbb..372ce98 100644 --- a/api/package.json +++ b/api/package.json @@ -47,7 +47,7 @@ }, "author": "4GL Ltd", "dependencies": { - "@sasjs/core": "^4.27.3", + "@sasjs/core": "^4.31.3", "@sasjs/utils": "2.42.1", "bcryptjs": "^2.4.3", "connect-mongo": "^4.6.0", diff --git a/api/src/utils/getRunTimeAndFilePath.ts b/api/src/utils/getRunTimeAndFilePath.ts index b83cdee..259b0a9 100644 --- a/api/src/utils/getRunTimeAndFilePath.ts +++ b/api/src/utils/getRunTimeAndFilePath.ts @@ -5,7 +5,7 @@ import { RunTimeType } from '.' export const getRunTimeAndFilePath = async (programPath: string) => { const ext = path.extname(programPath) - // If programPath (_program) is provided with a ".sas" or ".js" extension + // If programPath (_program) is provided with a ".sas" or ".js" extension // we should use that extension to determine the appropriate runTime if (ext && Object.values(RunTimeType).includes(ext.slice(1) as RunTimeType)) { const runTime = ext.slice(1)