Remove backward compatibility (always using permanent working dir).

This commit is contained in:
John Livingston
2021-06-02 12:41:28 +02:00
parent 56f1c5895e
commit af20f3918f
5 changed files with 15 additions and 66 deletions

View File

@ -9,12 +9,7 @@ export async function diagProsody (test: string, options: RegisterServerOptions)
try {
const workingDir = await getWorkingDir(options)
result.messages.push('The working dir is: ' + workingDir.dir)
if (workingDir.permanent) {
result.messages.push('The working dir is permanent')
} else {
result.messages.push('The working dir is a temporary directory')
}
result.messages.push('The working dir is: ' + workingDir)
} catch (error) {
result.messages.push('Error when requiring the working dir: ' + (error as string))
return result