Skip to content

Commit

Permalink
Merge pull request #4 from ipanardian/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
ipanardian authored Nov 26, 2016
2 parents 5569bf9 + b7baf8c commit ca50065
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules
.tags
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

3 comments on commit ca50065

@banghasan
Copy link

Choose a reason for hiding this comment

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

tanya:

.tags itu buat apa?

@ipanardian
Copy link
Owner Author

Choose a reason for hiding this comment

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

A tags file is an index to source-code definitions of functions, variables, and any other interesting syntactic feature.

Biasanya ini untuk editor yang membutuhkan .tags file kayak Atom. Untuk jump ke definition.

@banghasan
Copy link

Choose a reason for hiding this comment

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

oke terimakasih :-)

Please sign in to comment.