Remove unused code

This commit is contained in:
2020-02-13 14:08:11 -06:00
parent 19fcf896df
commit efc85c1759
5 changed files with 24 additions and 45 deletions

View File

@@ -408,7 +408,7 @@ module.exports.executeScript = script => {
});
};
module.exports.executeMount = (version, provider, remote, location, noConsoleSupported, exitCallback) => {
module.exports.executeMount = (version, provider, remote, location, exitCallback) => {
return new Promise((resolve) => {
const repertoryExec = _getRepertoryExec(version);
const processOptions = {
@@ -424,9 +424,7 @@ module.exports.executeMount = (version, provider, remote, location, noConsoleSup
args.push('-o');
args.push('big_writes');
args.push('-f');
if (noConsoleSupported) {
args.push('-nc');
}
args.push('-nc');
} else if (os.platform() === 'win32') {
args.push('-hidden');
}