From 136e0eeceac699a14cb1e9e932f27f416ca936a0 Mon Sep 17 00:00:00 2001 From: Sergei Vorobev Date: Wed, 30 Mar 2016 14:13:36 -0700 Subject: [PATCH] Fix typo in PowerShellGitHubDev.psm1 mapping --- PowerShellGitHubDev.psm1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PowerShellGitHubDev.psm1 b/PowerShellGitHubDev.psm1 index 7846381575..fa22c2fe26 100644 --- a/PowerShellGitHubDev.psm1 +++ b/PowerShellGitHubDev.psm1 @@ -434,7 +434,7 @@ function New-MappingFile param( [string]$mappingFilePath = "$PSScriptRoot/mapping.json", [switch]$IgnoreCompileFiles, - [switch]$IgnoreResouce + [switch]$Ignoreresource ) function Get-MappingPath([string]$project, [string]$path) @@ -474,11 +474,11 @@ function New-MappingFile } } - if ((-not $IgnoreResouce) -and ($json.resource)) { + if ((-not $Ignoreresource) -and ($json.resource)) { $json.resource | % { if ($_) { ls $_.Replace('../', 'src/') | % { - $fullPath = Join-Path $project (Join-Path 'resouces' $_.Name) + $fullPath = Join-Path $project (Join-Path 'resources' $_.Name) $mapping[$_.FullName.Replace("$($pwd.Path)\", '').Replace('\', '/')] = ($fullPath.Replace("$($pwd.Path)\",'')).Replace('\', '/') } }