Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nic11 committed Feb 19, 2025
1 parent 4c6203c commit f80998f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skymp5-server/ts/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async function resolveRefToCommitHash(octokit: Octokit, owner: string, repo: str
// If the branch resolution fails, try to resolve it as a tag.
return await getCommitHashFromRef(octokit, owner, repo, `tags/${ref}`);
} catch (tagError) {
throw new Error(`Could not resolve ref to commit hash. Error 1: ${error}; error 2: ${tagError}`);
throw new Error(`Could not resolve ref to commit hash`, { cause: tagError });
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion skymp5-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "commonjs",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"target": "es6",
"target": "ES2022",
"moduleResolution": "node",
"sourceMap": true,
"outDir": "../build/dist/server/dist_back",
Expand Down

0 comments on commit f80998f

Please sign in to comment.