Skip to content

Commit a064171

Browse files
author
Glib Briia
committed
Update version
1 parent f832f5e commit a064171

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

bin/cli.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
var program = require('commander');
44
var assertThat = require('../lib/assertthat-bdd');
55
var colors = require('colors');
6+
var dateFormat = require('dateformat');
67

78
program
89
.version('1.2.0')
@@ -30,18 +31,14 @@ program.on('--help', function(){
3031

3132
program.parse(process.argv);
3233

33-
var dateFormat = require('dateformat');
34-
var now = new Date();
35-
36-
3734
var settings = {
3835
projectId: program.projectId,
3936
accessKey: program.accessKey || process.env.ASSERTTHAT_ACCESS_KEY,
4037
secretKey: program.secretKey || process.env.ASSERTTHAT_SECRET_KEY,
4138
jsonReportFolder: program.jsonReportFolder || './reports/',
4239
mode: program.mode,
4340
metadata: program.metadata || '',
44-
runName: program.runName || 'Test run ' + dateFormat(now, "dd mmm yyyy HH:mm:ss"),
41+
runName: program.runName || 'Test run ' + dateFormat(new Date(), "dd mmm yyyy HH:mm:ss"),
4542
outputFolder: program.outputFolder || './features/',
4643
jql: program.jql,
4744
jsonReportIncludePattern: program.jsonReportIncludePattern,

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@assertthat/assertthat-bdd",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Node.js module for integration with AssertThat BDD Jira plugin",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)