Skip to content

Commit

Permalink
Merge pull request #781 from salesforcecli/sm/lowercase-filename
Browse files Browse the repository at this point in the history
fix: file casing consistent with export
  • Loading branch information
WillieRuemmele authored Apr 5, 2024
2 parents cf7563d + cbed55f commit 83582f4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/commands/plugins/trust/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
InstallationVerification,
VerificationConfig,
} from '../../../shared/installationVerification.js';
import { type NpmName, parseNpmName } from '../../../shared/NpmName.js';
import { type NpmName, parseNpmName } from '../../../shared/npmName.js';
import { setErrorName } from '../../../shared/errors.js';

Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/verifyInstallSignature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
isAllowListed,
} from '../shared/installationVerification.js';

import { type NpmName, parseNpmName } from '../shared/NpmName.js';
import { type NpmName, parseNpmName } from '../shared/npmName.js';

export const hook: Hook.PluginsPreinstall = async function (options) {
if (options.plugin && options.plugin.type === 'npm') {
Expand Down
2 changes: 1 addition & 1 deletion src/shared/installationVerification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { ux } from '@oclif/core';
import { prompts } from '@salesforce/sf-plugins-core';
import { maxSatisfying } from 'semver';
import { NpmModule, NpmMeta } from './npmCommand.js';
import { NpmName, npmNameToString } from './NpmName.js';
import { type NpmName, npmNameToString } from './npmName.js';
import { setErrorName } from './errors.js';

const CRYPTO_LEVEL = 'RSA-SHA256';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/shared/installationVerification.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
Verifier,
} from '../../src/shared/installationVerification.js';
import { NpmMeta, NpmModule, NpmShowResults } from '../../src/shared/npmCommand.js';
import { NpmName, parseNpmName } from '../../src/shared/NpmName.js';
import { type NpmName, parseNpmName } from '../../src/shared/npmName.js';
import { CERTIFICATE, TEST_DATA, TEST_DATA_SIGNATURE } from '../testCert.js';

const BLANK_PLUGIN = { plugin: '', tag: '' };
Expand Down
2 changes: 1 addition & 1 deletion test/shared/npmName.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { expect } from 'chai';
import { npmNameToString, parseNpmName } from '../../src/shared/NpmName.js';
import { npmNameToString, parseNpmName } from '../../src/shared/npmName.js';

describe('npmName', () => {
describe('parse', () => {
Expand Down

0 comments on commit 83582f4

Please sign in to comment.