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
ff93a482
...
ff93a482d22cb4bdbd0cea06e9e3e99cb5108c40
authored
2012-12-19 12:21:03 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed casperjs executable crash when no args is passed
1 parent
c2b869c1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
bin/casperjs
bin/casperjs
View file @
ff93a48
...
...
@@ -45,7 +45,7 @@ CASPER_PATH = os.path.abspath(os.path.join(os.path.dirname(resolve(__file__)), '
PHANTOMJS_ARGS
=
[]
SYS_ARGS
=
sys
.
argv
[
1
:]
if
SYS_ARGS
[
0
]
==
'__selfcommandtest'
:
if
len
(
SYS_ARGS
)
and
SYS_ARGS
[
0
]
==
'__selfcommandtest'
:
print
(
'Starting Python executable tests...'
)
pkg_version
=
json
.
loads
(
open
(
'package.json'
)
.
read
())
.
get
(
'version'
)
scripts_path
=
os
.
path
.
join
(
CASPER_PATH
,
'tests'
,
'commands'
)
...
...
Please
register
or
sign in
to post a comment