Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Defaults to current directory name rather than the full path

  • Loading branch information...
commit df53310c45b4ad060cef75c6ae26dab138551dd6 1 parent 3c060f1
Nicholas Kinsey authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 bin/tag.coffee
View
4 bin/tag.coffee
@@ -4,6 +4,8 @@ VERSION = '1.0.0'
{exec} = require 'child_process'
+path = require 'path'
+
CoffeeScript = require 'coffee-script'
{OptionParser} = require 'coffee-script/optparse'
@@ -32,7 +34,7 @@ log parser.help() if options.help
log VERSION if options.version
if args.length <= 0
- args.push process.cwd()
+ args.push path.basename(process.cwd())
tag = args[0]
Please sign in to comment.
Something went wrong with that request. Please try again.