diff --git a/.gitignore b/.gitignore index b512c09..581dcb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +.tags \ No newline at end of file diff --git a/index.js b/index.js index fa72dba..2956880 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,7 @@ if (param == '--version') { console.log(VERSION) process.exit(-1) } -else if (param.length < 10 || !param.match(/^[a-z0-9]+$/i)) { +else if (param.length < 5 || !param.match(/^[a-z0-9]+$/i)) { console.log('Invalid AWB Number') process.exit(-1) } diff --git a/package.json b/package.json index 5d05910..bfcecd7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cekresi-cli", - "version": "1.0.6", + "version": "1.0.7", "description": "A command line app to tracking AWB number", "main": "index.js", "scripts": {