Skip to content

Commit

Permalink
fix CLI empty profile creation
Browse files Browse the repository at this point in the history
  • Loading branch information
saadtazi committed Sep 5, 2016
1 parent b29b1a5 commit ae970fb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -7,8 +7,8 @@ node_js:
env:
global:
# saucelabs
- secure: "gqxXmwQTPK0xOeOauBUrRk19V8JRGQn78KZKUHR9nIlCkx60JsNyhMs5P8zKMI88rRAv67K9RiW7VGy0eqXiCmVcmesB5z5UpRocLDeF44OXyoijT7iKMSXyNwBZIsN3ffNTGel01tUFlc7eE7yV/dNtth6LtGhmGviyTSFdeWY="
- secure: "Bh+dZvnBP0tu604ZIWLFwpdRrIrwws6fx4/q0m43NDzDj13YffDmNItCVW+SoNh5f8w7LQipHOJWmfmNroefJyBy5Ex1D5dy2C/2/JJhL4xzQ8dHOa/SWPWf4MNi7j+a2Jc78bOiJPVR7SBFm/4dT2exfq9zsVHDBrod4sXIRJM="
- secure: "Yqr5ndhUcFU+pnHsPVEo0EPaKJepA7RsASow3MH2aCFcjMf4WXi87cDCd2Z9D4gktICeZuuixDPlaTRzaADdXkbLRhgapYZer2Ug7nNa5lMmp+K7An8MMipx+2FSRqQh6af23Pso1ezY/MKQmIjahSUIdm29v/oUUvJcQ8wdB3c="
- secure: "LEZYzdP3k/76Ekv5NEDuiTn7GaIk+LeqhGgQ2DGD5L5/UfSrlQbJoM1MQlW0Qrde1BMJe+Gne+blfS6LMY/IffN8UeqX5zEIO/v5uzxSyaOXrl6wVIclNnCpg24iB988o9zxrR6sSDJTy6NcFquiL6AMkveD7m+qo1Pr/XQ+PRQ="

before_script: npm install -g grunt-cli
script: grunt travis
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 0.4.1

* fix CLI empty profile creation

# 0.4.0

* remove [`wrench`](https://github.com/ryanmcgrath/wrench-js) dependency (no longer maintained), replaced by [`fs-extra`](https://github.com/jprichardson/node-fs-extra)
Expand Down
3 changes: 1 addition & 2 deletions lib/cli.js
Expand Up @@ -104,6 +104,7 @@ createProfile(function(err, fp) {
}
if (!encoded) {
// we're done
fp.updatePreferences();
console.log('profile created in', fp.profileDir);
process.exit(0);
}
Expand All @@ -127,5 +128,3 @@ createProfile(function(err, fp) {


});


2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "firefox-profile",
"version": "0.4.0",
"version": "0.4.1",
"description": "firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities",
"main": "lib/firefox_profile",
"directories": {
Expand Down

0 comments on commit ae970fb

Please sign in to comment.