Skip to content

Commit 7d8781d

Browse files
committed
Fix lint errors and mark Node 22 as supported
Signed-off-by: Timothy Johnson <[email protected]>
1 parent 848beb8 commit 7d8781d

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

packages/imperative/src/cmd/src/doc/processor/ICommandProcessorParms.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import { ICommandDefinition } from "../ICommandDefinition";
1313
import { IHelpGenerator } from "../../help/doc/IHelpGenerator";
1414
import { IProfileManagerFactory } from "../../../../profiles";
15-
import { ICommandProfileTypeConfiguration } from "../../../src/doc/profiles/definition/ICommandProfileTypeConfiguration";
15+
import { ICommandProfileTypeConfiguration } from "../../doc/profiles/definition/ICommandProfileTypeConfiguration";
1616
import { Config } from "../../../../config";
1717
import { IDaemonContext } from "../../../../imperative/src/doc/IDaemonContext";
1818

packages/imperative/src/cmd/src/doc/response/response/ICommandPrepared.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
*
1010
*/
1111

12-
import { CommandProfiles } from "../../../../src/profiles/CommandProfiles";
13-
import { ICommandArguments } from "../../../../src/doc/args/ICommandArguments";
12+
import { CommandProfiles } from "../../../profiles/CommandProfiles";
13+
import { ICommandArguments } from "../../../doc/args/ICommandArguments";
1414
/**
1515
* Command Processor prepare response.
1616
* @export

packages/imperative/src/cmd/src/profiles/CliProfileManager.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { ImperativeError } from "../../../error";
2727
import { Arguments } from "yargs";
2828
import { CommandResponse } from "../response/CommandResponse";
2929
import { ICommandHandlerRequire } from "../doc/handler/ICommandHandlerRequire";
30-
import { ICommandHandler } from "../../src/doc/handler/ICommandHandler";
30+
import { ICommandHandler } from "../doc/handler/ICommandHandler";
3131
import { ICommandProfileTypeConfiguration } from "../doc/profiles/definition/ICommandProfileTypeConfiguration";
3232
import { CommandProfiles } from "./CommandProfiles";
3333
import { ICommandProfileProperty } from "../doc/profiles/definition/ICommandProfileProperty";

packages/imperative/src/config/src/ProfileCredentials.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ export class ProfileCredentials {
5454

5555
/**
5656
* Check if secure credentials will be encrypted or stored in plain text.
57-
* This will return true if the team configuration files contain secure
58-
* fields, or if a custom CredentialManager is defined in the Imperative
59-
* settings.json file.
57+
* If using team config, this will always return true. If using classic
58+
* profiles, this will check whether a custom CredentialManager is defined
59+
* in the Imperative settings.json file.
6060
*/
6161
public get isSecured(): boolean {
6262
this.mSecured = this.isTeamConfigSecure() || this.isCredentialManagerInAppSettings();

packages/imperative/src/imperative/src/config/cmd/report-env/EnvItems.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ function formatLogLevelMsg(logTypeName: string) {
6969
export const probTests: IProbTest[] = [
7070
{
7171
itemId: ItemId.NODEJS_VER,
72-
probExpr: "semver.satisfies('{val}', '<18.x || 19.x || >=21.x')",
73-
probMsg: "Only Node.js versions 18 and 20 are supported."
72+
probExpr: "semver.satisfies('{val}', '<18.x || 19.x || 21.x || >=23.x')",
73+
probMsg: "Only Node.js versions 18, 20, and 22 are supported."
7474
},
7575
{
7676
itemId: ItemId.NPM_VER,

0 commit comments

Comments
 (0)