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
fa4515d8
Commit
fa4515d8
authored
Nov 15, 2016
by
xzyfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always log to stdout
parent
bee91ae8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
build.js
scripts/build.js
+0
-6
install.js
scripts/install.js
+0
-2
No files found.
scripts/build.js
View file @
fa4515d8
...
...
@@ -29,8 +29,6 @@ function afterBuild(options) {
'binding.node'
);
mkdir
(
path
.
dirname
(
install
),
function
(
err
)
{
log
.
stream
=
process
.
stderr
;
if
(
err
&&
err
.
code
!==
'EEXIST'
)
{
log
.
error
(
'node-sass build'
,
err
.
message
);
return
;
...
...
@@ -48,7 +46,6 @@ function afterBuild(options) {
return
;
}
log
.
stream
=
process
.
stdout
;
log
.
info
(
'node-sass build'
,
'Installed to %s'
,
install
);
});
});
...
...
@@ -133,7 +130,6 @@ function installGitDependencies(options, cb) {
function
build
(
options
)
{
installGitDependencies
(
options
,
function
(
err
)
{
if
(
err
)
{
log
.
stream
=
process
.
stderr
;
log
.
error
(
'node-sass build'
,
err
.
message
);
process
.
exit
(
1
);
}
...
...
@@ -155,8 +151,6 @@ function build(options) {
return
;
}
log
.
stream
=
process
.
stderr
;
if
(
errorCode
===
127
)
{
log
.
error
(
'node-sass build'
,
'node-gyp not found!'
);
}
else
{
...
...
scripts/install.js
View file @
fa4515d8
...
...
@@ -112,7 +112,6 @@ function checkAndDownloadBinary() {
try
{
mkdir
.
sync
(
path
.
dirname
(
binaryPath
));
}
catch
(
err
)
{
log
.
stream
=
process
.
stderr
;
log
.
error
(
'node-sass install'
,
'Unable to save binary to %s: %s'
,
path
.
dirname
(
binaryPath
),
err
);
return
;
}
...
...
@@ -125,7 +124,6 @@ function checkAndDownloadBinary() {
download
(
sass
.
getBinaryUrl
(),
binaryPath
,
function
(
err
)
{
if
(
err
)
{
log
.
stream
=
process
.
stderr
;
log
.
error
(
'node-sass install'
,
err
);
return
;
}
...
...
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