iainbrighton / PScribo

PowerShell documentation framework
MIT License
231 stars 35 forks source link

Version 0.7.16.70 fails to import #49

Closed dlwyatt closed 6 years ago

dlwyatt commented 7 years ago

Many errors, starting with this from Import-LocalizedData

Cannot find the Windows PowerShell data file 'PScribo.Resources.psd1' in directory
'C:\Users\dave.wyatt\Documents\WindowsPowerShell\Modules\pscribo\0.7.16.70\en-US\en-US\', or in any parent culture
directories.

(note the duplicated en-US\en-US bit)

iainbrighton commented 7 years ago

@dlwyatt DOH! Darn en-US systems 😉. Presumably this is the culprit. I'll change this to BaseDirectory = $PSScriptRoot; and push an update (unless you think this won't solve the problem?

dlwyatt commented 7 years ago

Should work :)

iainbrighton commented 7 years ago

@dlwyatt Version 0.7.17 published to the Gallery which should resolve this. Let me know if it doesn't.

it-praktyk commented 7 years ago

@iainbrighton , I don't like how you implemented it. I propose reopen and merge #50 for the next release.

iainbrighton commented 6 years ago

Closed with #64