Skip to content

Commit

Permalink
Merge pull request #7 from lhcgoncalves/development
Browse files Browse the repository at this point in the history
fix cache options
  • Loading branch information
Luiz Gonçalves authored Feb 2, 2018
2 parents 7358932 + d3955d3 commit c0ac51d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pwact",
"version": "1.1.1",
"version": "1.1.2",
"description": "Build PWAs faster and get more productivity",
"main": "index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var fs = require("fs")
var conf = require("../conf")
var project = JSON.parse(fs.readFileSync('pwact.json', 'utf8'));

if(!conf.args[1] || conf.args[1] != "--reset"){
if(!conf.args[1]){
console.log("[PWAct]", "You must pass a file to cache or type --reset to cache from PWAct.json");
}

Expand Down

0 comments on commit c0ac51d

Please sign in to comment.