Set argv.recordingFile value to the absolute path of the recording instead of reading its content

This commit is contained in:
Mohammad Fares 2018-10-14 21:58:13 +03:00
parent 17000061b0
commit b11e706605
1 changed files with 1 additions and 1 deletions

View File

@ -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')
});
};