Skip to content

Commit

Permalink
fix: resourceOperation: #909
Browse files Browse the repository at this point in the history
  • Loading branch information
obgnail committed Jan 24, 2025
1 parent d3140eb commit 63a9a28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/custom/plugins/resourceOperation.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ ${_obj.resource_non_exist_in_folder.join("\n")}
return;
}

src = src.replace(/^\s*([\\/])/, "")
src = resolve(sourceRoot, src)
if (this.resourcesInFile.has(src)) return;

Expand Down

0 comments on commit 63a9a28

Please sign in to comment.