Set argv.recordingFile value to the absolute path of the recording instead of reading its content
This commit is contained in:
@@ -59,7 +59,7 @@ module.exports.builder = function(yargs) {
|
|||||||
yargs.positional('recordingFile', {
|
yargs.positional('recordingFile', {
|
||||||
describe: 'the recording file',
|
describe: 'the recording file',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
coerce: di.utility.loadYAML
|
coerce: di._.partial(di.utility.resolveFilePath, di._, 'yml')
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user