@@ -800,7 +800,7 @@ export class SessionManager {
|
||||
if (this.fileEntries.length === 0) {
|
||||
const explicitPath = this.sessionFile;
|
||||
if (statSync(explicitPath).size > 0) {
|
||||
throw new Error(`Session file is not a valid pi session and was not modified: ${explicitPath}`);
|
||||
throw new Error(`Session file is not a valid pi session: ${explicitPath}`);
|
||||
}
|
||||
this.newSession();
|
||||
this.sessionFile = explicitPath;
|
||||
|
||||
Reference in New Issue
Block a user