From 390d96ddcac0ee8fd404ac9876c5c0c6def43232 Mon Sep 17 00:00:00 2001 From: Adam Zerella Date: Thu, 14 Mar 2019 15:03:05 +1100 Subject: [PATCH 1/2] Corrected find and replace path seperator for Windows --- packages/pancake-sass/src/sass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pancake-sass/src/sass.js b/packages/pancake-sass/src/sass.js index 5698463..f9c8fc3 100644 --- a/packages/pancake-sass/src/sass.js +++ b/packages/pancake-sass/src/sass.js @@ -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 }`, '' ); } }); From 7129435eae1d03792bee29a8cb261e3420bd2384 Mon Sep 17 00:00:00 2001 From: "Adam A. Zerella" Date: Tue, 19 Mar 2019 14:53:52 +1100 Subject: [PATCH 2/2] Bumped pancake-sass ver --- packages/pancake-sass/CHANGELOG.md | 6 ++++++ packages/pancake-sass/README.md | 1 + packages/pancake-sass/package.json | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/pancake-sass/CHANGELOG.md b/packages/pancake-sass/CHANGELOG.md index a2dde8c..6278f51 100644 --- a/packages/pancake-sass/CHANGELOG.md +++ b/packages/pancake-sass/CHANGELOG.md @@ -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) @@ -33,6 +34,11 @@ Pancake Sass plugin ---------------------------------------------------------------------------------------------------------------------------------------------------------------- +## v2.3.4 + +- Added cross-platform path seperator for org replace function + + ## v2.2.4 - Upgrade dependencies diff --git a/packages/pancake-sass/README.md b/packages/pancake-sass/README.md index ae04008..6d20c3b 100644 --- a/packages/pancake-sass/README.md +++ b/packages/pancake-sass/README.md @@ -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 diff --git a/packages/pancake-sass/package.json b/packages/pancake-sass/package.json index 784ca59..a59801f 100644 --- a/packages/pancake-sass/package.json +++ b/packages/pancake-sass/package.json @@ -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",