@contrail/cli 1.0.49 → 1.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,7 +76,7 @@ async function getLocalUploadConfig(configFileName) {
76
76
  async function uploadFile(incomingFileName) {
77
77
  const csvContent = await getLocalFile(incomingFileName);
78
78
  const entities = new Entities();
79
- const fileName = `${incomingFileName.slice(0, incomingFileName.length - 5)}-Upload-${new Date().getTime()}.csv`;
79
+ const fileName = `${incomingFileName.slice(0, incomingFileName.length - 4)}-Upload-${new Date().getTime()}.csv`;
80
80
  const file = await entities.create({
81
81
  entityName: 'file',
82
82
  object: { contentType: 'text/csv', fileName: fileName, ttl: 24 * 60 * 60 * 1000 }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/cli",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "VibeIQ's Contrail Platform CLI.",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -92,7 +92,7 @@ async function uploadFile(incomingFileName) {
92
92
  const csvContent = await getLocalFile(incomingFileName);
93
93
 
94
94
  const entities = new Entities();
95
- const fileName = `${incomingFileName.slice(0, incomingFileName.length - 5)}-Upload-${new Date().getTime()}.csv`;
95
+ const fileName = `${incomingFileName.slice(0, incomingFileName.length - 4)}-Upload-${new Date().getTime()}.csv`;
96
96
  const file = await entities.create({
97
97
  entityName: 'file',
98
98
  object: { contentType: 'text/csv', fileName: fileName, ttl: 24 * 60 * 60 * 1000 }