From b11e706605052dc09c09b2f44199051604c7fa44 Mon Sep 17 00:00:00 2001 From: Mohammad Fares Date: Sun, 14 Oct 2018 21:58:13 +0300 Subject: [PATCH] Set argv.recordingFile value to the absolute path of the recording instead of reading its content --- commands/share.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/share.js b/commands/share.js index 72d99d3..fa4680d 100644 --- a/commands/share.js +++ b/commands/share.js @@ -59,7 +59,7 @@ module.exports.builder = function(yargs) { yargs.positional('recordingFile', { describe: 'the recording file', type: 'string', - coerce: di.utility.loadYAML + coerce: di._.partial(di.utility.resolveFilePath, di._, 'yml') }); };