Skip to content

Commit

Permalink
fix compilerOptions check
Browse files Browse the repository at this point in the history
  • Loading branch information
wpdas committed Apr 3, 2024
1 parent dfe7381 commit 85a0fa7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/actions/compilerOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const { read_bos_config } = require("../config");
* @returns
*/
function getConfiguredPaths(config) {
if (!config.compilerOptions || !config.compilerOptions.paths) {
return {};
}

const pathsConfig = config.compilerOptions.paths;
const basePath = config.compilerOptions.baseUrl;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alem",
"description": "Create web3 applications for NEAR BOS with a focus on performance and friendly development.",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"main": "main.js",
"types": "index.d.ts",
"author": "Wenderson Pires - wendersonpires.near",
Expand Down

0 comments on commit 85a0fa7

Please sign in to comment.