Skip to content

Commit b65da23

Browse files
authored
Merge pull request #113 from AthennaIO/develop
feat(load): validate if is deno environment
2 parents 0942310 + 248c5cf commit b65da23

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@athenna/config",
3-
"version": "5.4.0",
3+
"version": "5.5.0",
44
"description": "Cache and handle environment variables and config files of Athenna.",
55
"license": "MIT",
66
"author": "João Lenon <lenon@athenna.io>",
@@ -58,7 +58,7 @@
5858
"syntax-error": "^1.4.0"
5959
},
6060
"devDependencies": {
61-
"@athenna/common": "^5.14.0",
61+
"@athenna/common": "^5.26.0",
6262
"@athenna/test": "^5.5.0",
6363
"@athenna/tsconfig": "^5.0.0",
6464
"@types/lodash": "^4.17.20",

src/config/Config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export class Config extends Macroable {
264264
return
265265
}
266266

267-
if (base.includes('.ts') && Env('IS_TS') === false) {
267+
if (base.includes('.ts') && (Env('IS_TS') === false || !Is.Deno())) {
268268
debug(
269269
'Configuration file %s being skipped since its a TypeScript file and the application is not running in a TypeScript environment.',
270270
base

0 commit comments

Comments
 (0)