Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #112 from govau/develop
Browse files Browse the repository at this point in the history
Corrected find and replace path separator for Windows
  • Loading branch information
Adam Zerella authored Mar 19, 2019
2 parents 31d3c90 + 7129435 commit d19776e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/pancake-sass/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Pancake Sass plugin

## Versions

* [v2.3.4 - Added cross-platform path seperator for org replace function](v234)
* [v2.2.4 - Upgrade dependencies](v224)
* [v2.1.4 - Reverted pathing issue with pancake-sass, corrected changelog](v214)
* [v2.1.3 - Added cross-platform path seperator for org replace function](v213)
Expand Down Expand Up @@ -33,6 +34,11 @@ Pancake Sass plugin

----------------------------------------------------------------------------------------------------------------------------------------------------------------

## v2.3.4

- Added cross-platform path seperator for org replace function


## v2.2.4

- Upgrade dependencies
Expand Down
1 change: 1 addition & 0 deletions packages/pancake-sass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ To run the tests make sure you go to the monorepo this package came from and clo

## Release History

* v2.3.4 - Added cross-platform path seperator for org replace function
* v2.2.4 - Upgrade dependencies
* v2.1.4 - Reverted pathing issue with pancake-sass, corrected changelog
* v2.1.3 - Added cross-platform path seperator for org replace function
Expand Down
2 changes: 1 addition & 1 deletion packages/pancake-sass/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gov.au/pancake-sass",
"version": "2.2.4",
"version": "2.3.4",
"description": "A Pancake plugin to compile sass files.",
"keywords": [
"npm",
Expand Down
2 changes: 1 addition & 1 deletion packages/pancake-sass/src/sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const GetPath = ( module, modules, baseLocation, npmOrg ) => {
let location;
npmOrgs.forEach( org => {
if( baseLocation.includes( org ) ){
location = baseLocation.replace( `${ org }/`, '' );
location = baseLocation.replace( `${ org }${ Path.sep }`, '' );
}
});

Expand Down

0 comments on commit d19776e

Please sign in to comment.