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
9bae6100
Commit
9bae6100
authored
Apr 10, 2015
by
Marcin Cieslak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show binary path in the error message
parent
c481f30f
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 @
9bae6100
...
...
@@ -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 @
9bae6100
...
...
@@ -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