Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
b28c68f0
Commit
b28c68f0
authored
Apr 28, 2015
by
Michael Mifsud
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #848 from saper/showbinpath
Show expected binary path in the error message if bindings not found
parents
eaa533d6
9bae6100
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
extensions.js
lib/extensions.js
+1
-1
api.js
test/api.js
+1
-1
No files found.
lib/extensions.js
View file @
b28c68f0
...
...
@@ -143,7 +143,7 @@ sass.getBinaryPath = function(throwIfNotExists) {
}
if
(
!
fs
.
existsSync
(
binaryPath
)
&&
throwIfNotExists
)
{
throw
new
Error
(
'`libsass` bindings not found. Try reinstalling `node-sass`?'
);
throw
new
Error
(
[
'`libsass` bindings not found in '
,
binaryPath
,
'. Try reinstalling `node-sass`?'
].
join
(
''
)
);
}
return
binaryPath
;
...
...
test/api.js
View file @
b28c68f0
...
...
@@ -1490,7 +1490,7 @@ describe('api', function() {
assert
.
throws
(
function
()
{
fs
.
renameSync
(
originalBin
,
renamedBin
);
process
.
sass
.
getBinaryPath
(
true
);
},
/`libsass` bindings not found
. Try reinstalling `node-sass`
?
/
);
},
/`libsass` bindings not found/
);
fs
.
renameSync
(
renamedBin
,
originalBin
);
done
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment