1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +01:00
metamask-extension/patches/node-sass+4.14.1.patch

14 lines
608 B
Diff
Raw Normal View History

diff --git a/node_modules/node-sass/lib/index.js b/node_modules/node-sass/lib/index.js
index 3f20708..425e97c 100644
--- a/node_modules/node-sass/lib/index.js
+++ b/node_modules/node-sass/lib/index.js
@@ -166,6 +166,8 @@ function buildIncludePaths(options) {
options.includePaths = options.includePaths || [];
if (process.env.hasOwnProperty('SASS_PATH')) {
+ //quick workaround for SASS_PATH.split undefined under lavamoat
+ process.env.SASS_PATH.split = String.prototype.split
options.includePaths = options.includePaths.concat(
process.env.SASS_PATH.split(path.delimiter)
);