mirror of
https://github.com/morluto/rea.git
synced 2026-11-07 07:16:13 +00:00
fix(artifacts): classify selected package names
This commit is contained in:
1 parent
3515b26221
commit
c27560e434
11 files changed
+285
-36
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { artifactNameForClassification } from "../../domain/artifactNameSelection.js";
|
||||
import type { AnalysisSettingValues } from "../../domain/analysisSettings.js";
|
||||
import { absoluteCallerPath } from "../../filesystem/callerPath.js";
|
||||
import {
|
||||
@@ -500,8 +501,9 @@ const resolveFormat = (
|
||||
const observed = metadata.isDirectory()
|
||||
? "directory"
|
||||
: metadata.isFile() &&
|
||||
(selectedPath.toLowerCase().endsWith(".asar") ||
|
||||
path.toLowerCase().endsWith(".asar"))
|
||||
artifactNameForClassification(selectedPath, path)
|
||||
.toLowerCase()
|
||||
.endsWith(".asar")
|
||||
? "asar"
|
||||
: undefined;
|
||||
if (observed === undefined)
|
||||
|
||||
Reference in new issue
Block a user