Skip to content

Commit

Permalink
fix: путь отдельной переменной
Browse files Browse the repository at this point in the history
  • Loading branch information
artpani4 committed Jul 28, 2024
1 parent c4aeb32 commit 1129e57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@artpani/tuner",
"version": "0.0.4",
"version": "0.0.5",
"exports": "./mod.ts",
"test": {
"files": {
Expand Down
4 changes: 2 additions & 2 deletions src/tuner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export async function loadConfig<T>(
const configName = getEnv('config');
const configDir = options?.configDirName || 'config';
const configDirPath = options?.configDirPath || './';
const resolvedPath = resolve(
const resolvedPath = 'file:///' + resolve(
configDirPath,
configDir,
`${configName}.tuner.ts`,
Expand All @@ -71,7 +71,7 @@ export async function loadConfig<T>(
log.inf(`Resolved config path: ${resolvedPath}`);

const mainConfig = await Load.local.absolutePath(
`file:///${resolvedPath}`,
resolvedPath,
)
.fun();
log.trc(`Путь конфига: file:///${resolvedPath}`);
Expand Down

0 comments on commit 1129e57

Please sign in to comment.