Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
8638461d
...
8638461db7f47a30d7945affc2a6757ba11a6928
authored
2013-10-02 08:31:39 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixes #656 - casperjs can't open /dev/stdin
1 parent
2945b4e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
bin/bootstrap.js
bin/bootstrap.js
View file @
8638461
...
...
@@ -308,7 +308,7 @@ CasperError.prototype = Object.getPrototypeOf(new Error());
phantom
.
casperScript
=
casperArgs
.
get
(
0
);
}
if
(
!
fs
.
isFile
(
phantom
.
casperScript
))
{
if
(
phantom
.
casperScript
!==
"/dev/stdin"
&&
!
fs
.
isFile
(
phantom
.
casperScript
))
{
return
__die
(
'Unable to open file: '
+
phantom
.
casperScript
);
}
...
...
Please
register
or
sign in
to post a comment