Skip to content

Commit

Permalink
refactor: fix typo UpdatedArtifcats
Browse files Browse the repository at this point in the history
  • Loading branch information
ylemkimon committed Sep 9, 2020
1 parent 2ff633d commit 163faf8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/manager/npm/post-update/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ interface ArtifactError {
stderr: string;
}

interface UpdatedArtifcats {
interface UpdatedArtifacts {
name: string;
contents: string | Buffer;
}
Expand Down Expand Up @@ -341,7 +341,7 @@ async function resetNpmrcContent(
async function updateYarnOffline(
lockFileDir: string,
localDir: string,
updatedArtifacts: UpdatedArtifcats[]
updatedArtifacts: UpdatedArtifacts[]
): Promise<void> {
try {
let resolvedPath: string | undefined;
Expand Down Expand Up @@ -400,7 +400,7 @@ async function updateYarnOffline(

export interface WriteExistingFilesResult {
artifactErrors: ArtifactError[];
updatedArtifacts: UpdatedArtifcats[];
updatedArtifacts: UpdatedArtifacts[];
}
// istanbul ignore next
export async function getAdditionalFiles(
Expand All @@ -409,7 +409,7 @@ export async function getAdditionalFiles(
): Promise<WriteExistingFilesResult> {
logger.trace({ config }, 'getAdditionalFiles');
const artifactErrors: ArtifactError[] = [];
const updatedArtifacts: UpdatedArtifcats[] = [];
const updatedArtifacts: UpdatedArtifacts[] = [];
if (!packageFiles.npm?.length) {
return { artifactErrors, updatedArtifacts };
}
Expand Down

0 comments on commit 163faf8

Please sign in to comment.