import * as path from 'path' ; import { ExtensionSettings } from '../interfaces/extensionSettings' ; param name param settings returns export function getAnsibleCommandExecPath ( name , settings ) { return name === 'ansible-lint' ? settings . ansibleLint . path : path . join ( path . dirname ( settings . ansible . path ) , name ) ; }