Skip to content

Commit

Permalink
fixed importPath for alem imports (windows OS)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpdas committed Apr 30, 2024
1 parent d05d966 commit 836d660
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/actions/loadFilesInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const processFileSchema = (filePath, processOnlyThisFile) => {

// Windows
if (isWindows && importPath) {
importPath = importPath.replaceAll("/", "\\");
importPath = importPath.replaceAll("/", "\\").replaceAll("\\\\", "\\");
}

let importedFileContentPath = importPath;
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.34",
"version": "1.0.0-beta.35",
"main": "main.js",
"types": "index.d.ts",
"author": "Wenderson Pires - wendersonpires.near",
Expand Down

0 comments on commit 836d660

Please sign in to comment.