Skip to content

Commit dac56c0

Browse files
committed
FPM-33: use getPackageRawInfo accessor instead of as any
1 parent b0959a0 commit dac56c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/fyn/lib/pkg-src-manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import Inflight from "./util/inflight";
2525
import logFormat from "./util/log-format";
2626
import * as semverUtil from "./util/semver";
2727
import longPending from "./long-pending";
28-
import { LOCAL_VERSION_MAPS, PACKAGE_RAW_INFO, DEP_ITEM } from "./types";
28+
import { LOCAL_VERSION_MAPS, DEP_ITEM, getPackageRawInfo } from "./types";
2929
import { LONG_WAIT_META, FETCH_META, FETCH_PACKAGE } from "./log-items";
3030
import PkgPreper from "pkg-preper";
3131
import { VisualExec } from "visual-exec";
@@ -529,7 +529,7 @@ class PkgSrcManager {
529529
localId: version,
530530
name,
531531
json,
532-
jsonStr: (json as any)[PACKAGE_RAW_INFO].str,
532+
jsonStr: getPackageRawInfo(json)!.str,
533533
versions: {
534534
[version]: json
535535
},

0 commit comments

Comments
 (0)