Skip to content

Commit

Permalink
Fix lint errors and mark Node 22 as supported
Browse files Browse the repository at this point in the history
  • Loading branch information
t1m0thyj committed Nov 25, 2024
1 parent f27d722 commit 505be93
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import { ICommandDefinition } from "../ICommandDefinition";
import { IHelpGenerator } from "../../help/doc/IHelpGenerator";
import { IProfileManagerFactory } from "../../../../profiles";
import { ICommandProfileTypeConfiguration } from "../../../src/doc/profiles/definition/ICommandProfileTypeConfiguration";
import { ICommandProfileTypeConfiguration } from "../../doc/profiles/definition/ICommandProfileTypeConfiguration";
import { Config } from "../../../../config";
import { IDaemonContext } from "../../../../imperative/src/doc/IDaemonContext";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*
*/

import { CommandProfiles } from "../../../../src/profiles/CommandProfiles";
import { ICommandArguments } from "../../../../src/doc/args/ICommandArguments";
import { CommandProfiles } from "../../../profiles/CommandProfiles";
import { ICommandArguments } from "../../../doc/args/ICommandArguments";
/**
* Command Processor prepare response.
* @export
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { ImperativeError } from "../../../error";
import { Arguments } from "yargs";
import { CommandResponse } from "../response/CommandResponse";
import { ICommandHandlerRequire } from "../doc/handler/ICommandHandlerRequire";
import { ICommandHandler } from "../../src/doc/handler/ICommandHandler";
import { ICommandHandler } from "../doc/handler/ICommandHandler";
import { ICommandProfileTypeConfiguration } from "../doc/profiles/definition/ICommandProfileTypeConfiguration";
import { CommandProfiles } from "./CommandProfiles";
import { ICommandProfileProperty } from "../doc/profiles/definition/ICommandProfileProperty";
Expand Down
6 changes: 3 additions & 3 deletions packages/imperative/src/config/src/ProfileCredentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ export class ProfileCredentials {

/**
* Check if secure credentials will be encrypted or stored in plain text.
* This will return true if the team configuration files contain secure
* fields, or if a custom CredentialManager is defined in the Imperative
* settings.json file.
* If using team config, this will always return true. If using classic
* profiles, this will check whether a custom CredentialManager is defined
* in the Imperative settings.json file.
*/
public get isSecured(): boolean {
this.mSecured = this.isTeamConfigSecure() || this.isCredentialManagerInAppSettings();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ function formatLogLevelMsg(logTypeName: string) {
export const probTests: IProbTest[] = [
{
itemId: ItemId.NODEJS_VER,
probExpr: "semver.satisfies('{val}', '<18.x || 19.x || >=21.x')",
probMsg: "Only Node.js versions 18 and 20 are supported."
probExpr: "semver.satisfies('{val}', '<18.x || 19.x || 21.x || >=23.x')",
probMsg: "Only Node.js versions 18, 20, and 22 are supported."
},
{
itemId: ItemId.NPM_VER,
Expand Down

0 comments on commit 505be93

Please sign in to comment.