Skip to content

Commit

Permalink
Fixed ipmo error message and links in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
codaamok committed Jul 2, 2020
1 parent 1814a27 commit 79d69d0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion PSProfile/Classes/PSProfile.Classes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ if ($env:AWS_PROFILE) {
}
catch {
$this._log(
"'$($params['Name'])' Error importing module: $($Error[0].Exception.Message)",
"'$($params['Name'])' Error importing module: $($_.Exception.Message)",
"ImportModules",
"Warning"
)
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ PSProfile is a cross-platform PowerShell module built for profile customization.
</div>
<br />

* [PSProfile](#psprofile)
* [Background](#background)
* [Quick Start](#quick-start)
* [Getting Help](#getting-help)
* [Tips & Tricks](#tips--tricks)
* [ProjectPaths](#projectpaths)
* [ScriptPaths](#scriptpaths)
* [Contributing](#contributing)
* [Code of Conduct](#code-of-conduct)
* [License](#license)
* [Changelog](#changelog)
- [PSProfile](#psprofile)
- [Background](#background)
- [Quick Start](#quick-start)
- [Getting Help](#getting-help)
- [Tips & Tricks](#tips--tricks)
- [ProjectPaths](#projectpaths)
- [ScriptPaths](#scriptpaths)
- [Contributing](#contributing)
- [Code of Conduct](#code-of-conduct)
- [License](#license)
- [Changelog](#changelog)

## Background

Expand Down Expand Up @@ -177,7 +177,7 @@ This adds the script specified to `$PSProfile.ScriptPaths`. Any scripts here wil

## Contributing

Interested in helping out with PSProfile development? Please check out our [Contribution Guidelines](https://github.com/scrthq/PSProfile/blob/master/CONTRIBUTING.md)!
Interested in helping out with PSProfile development? Please check out our [Contribution Guidelines](https://github.com/scrthq/PSProfile/blob/main/CONTRIBUTING.md)!

Building the module locally to test changes is as easy as running the `build.ps1` file in the root of the repo. This will compile the module with your changes and import the newly compiled module at the end by default.

Expand All @@ -189,12 +189,12 @@ Want to run the Pester tests locally? Pass `Test` as the value to the `Task` scr

## Code of Conduct

Please adhere to our [Code of Conduct](https://github.com/scrthq/PSProfile/blob/master/CODE_OF_CONDUCT.md) when interacting with this repo.
Please adhere to our [Code of Conduct](https://github.com/scrthq/PSProfile/blob/main/CODE_OF_CONDUCT.md) when interacting with this repo.

## License

[Apache 2.0](https://tldrlegal.com/license/apache-license-2.0-(apache-2.0))

## Changelog

[Full CHANGELOG here](https://github.com/scrthq/PSProfile/blob/master/CHANGELOG.md)
[Full CHANGELOG here](https://github.com/scrthq/PSProfile/blob/main/CHANGELOG.md)

0 comments on commit 79d69d0

Please sign in to comment.