diff --git a/pkg/lib/path.ts b/pkg/lib/cockpit-path.ts similarity index 100% rename from pkg/lib/path.ts rename to pkg/lib/cockpit-path.ts diff --git a/pkg/lib/test-path.ts b/pkg/lib/test-path.ts index afc6e0d72db..26a5a5ebdcc 100644 --- a/pkg/lib/test-path.ts +++ b/pkg/lib/test-path.ts @@ -17,7 +17,7 @@ * along with Cockpit; If not, see . */ -import { dirname, basename } from "./path"; +import { dirname, basename } from "./cockpit-path"; import QUnit from "qunit-tests"; QUnit.test("dirname", function (assert) { diff --git a/pkg/sosreport/sosreport.jsx b/pkg/sosreport/sosreport.jsx index 044e7051357..5c12d8b229e 100644 --- a/pkg/sosreport/sosreport.jsx +++ b/pkg/sosreport/sosreport.jsx @@ -40,7 +40,7 @@ import { EyeIcon, EyeSlashIcon } from '@patternfly/react-icons'; import { EmptyStatePanel } from "cockpit-components-empty-state.jsx"; import { ListingTable } from "cockpit-components-table.jsx"; -import { basename as path_basename } from "path"; +import { basename as path_basename } from "cockpit-path"; import cockpit from "cockpit"; import { superuser } from "superuser"; diff --git a/pkg/storaged/btrfs/subvolume.jsx b/pkg/storaged/btrfs/subvolume.jsx index b373732626b..3940140e986 100644 --- a/pkg/storaged/btrfs/subvolume.jsx +++ b/pkg/storaged/btrfs/subvolume.jsx @@ -24,7 +24,7 @@ import { Button } from "@patternfly/react-core/dist/esm/components/Button/index. import { Card, CardBody, CardHeader, CardTitle } from "@patternfly/react-core/dist/esm/components/Card/index.js"; import { DescriptionList } from "@patternfly/react-core/dist/esm/components/DescriptionList/index.js"; -import { dirname } from "path"; +import { dirname } from "cockpit-path"; import { PageTable, StorageCard, StorageDescription, ChildrenTable,