Skip to content

Commit eb5d06c

Browse files
authored
Added fallback version logic (#15)
1 parent 8cf1697 commit eb5d06c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
"use strict";
22

3-
const VERSION = require('../package.json').version;
3+
//(todo) re-enable this after SAM migration:
4+
// const VERSION = require('../package.json').version;
5+
const VERSION = '0.5.3';
6+
47
const assert = require('assert');
58
const AWS = require('aws-sdk');
69
const http = require('https');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scanii-lambda",
3-
"version": "0.5.2",
3+
"version": "0.5.3",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)