log file path
parent
12764c8f73
commit
4de8ca9d92
|
@ -4464,9 +4464,6 @@ class RemoteClientLogger {
|
|||
}
|
||||
static log(message) {
|
||||
const finalMessage = `[Client] ${message}`;
|
||||
if (!node_fs_1.default.existsSync(cloud_runner_folders_1.CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute)) {
|
||||
node_fs_1.default.mkdirSync(cloud_runner_folders_1.CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute);
|
||||
}
|
||||
if (!node_fs_1.default.existsSync(this.LogFilePath)) {
|
||||
node_fs_1.default.writeFileSync(this.LogFilePath, ``);
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -10,9 +10,6 @@ export class RemoteClientLogger {
|
|||
|
||||
public static log(message: string) {
|
||||
const finalMessage = `[Client] ${message}`;
|
||||
if (!fs.existsSync(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute)) {
|
||||
fs.mkdirSync(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute);
|
||||
}
|
||||
if (!fs.existsSync(this.LogFilePath)) {
|
||||
fs.writeFileSync(this.LogFilePath, ``);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue