Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Fixes guard-jasmine #194

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/phantom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Phantom::Phantom(QObject *parent)

if (m_config.versionFlag()) {
m_terminated = true;
Terminal::instance()->cout(QString("%1 (development)").arg(PHANTOMJS_VERSION_STRING));
Terminal::instance()->cout(QString("%1").arg(PHANTOMJS_VERSION_STRING));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHANTOMJS_VERSION_STRING is already "1.5 (development)"

return;
}

Expand Down
2 changes: 1 addition & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void Utils::messageHandler(QtMsgType type, const char *msg)
switch (type) {
#ifndef QT_NO_DEBUG
case QtDebugMsg:
fprintf(stdout, "%s [DEBUG] %s\n", qPrintable(now.toString(Qt::ISODate)), msg);
fprintf(stderr, "%s [DEBUG] %s\n", qPrintable(now.toString(Qt::ISODate)), msg);
break;
case QtWarningMsg:
fprintf(stderr, "%s [WARNING] %s\n", qPrintable(now.toString(Qt::ISODate)), msg);
Expand Down