Skip to content

Commit

Permalink
Optimization(code): Clean codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonPrefect committed Dec 13, 2022
1 parent 41c7b0b commit 73ccbc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
11 changes: 1 addition & 10 deletions core/services/file.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,4 @@ export class FileService extends DogeService{
}
return undefined;
}
}

// const config = new ConfigService(`C:\\Users\\lenovo\\.peg.config.yaml`);
// const file = new FileService(config, config.getBucket("imagebutter")!);

// const dFile = (await file.getFilesInfo(["/index.txt"]))[0];
// // dFile.local = "./a.html";
// file.setFileHeader(dFile, [
// {key: "Content-Type", value: "text/html" },
// ])
}
4 changes: 2 additions & 2 deletions peg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ await new Command()

.name("peg")
.description("Welcome to use peg, a third-party open source DogeCloud OSS CLI.")
.version("0.0.221207.2")
.version("0.0.221213.1")
.usage("[option/command]")
.group("Global Options")
.globalOption("-c, --config-path <configPath:string>", "config file path(default is $HOME/.peg.config.yaml)")
Expand Down Expand Up @@ -60,7 +60,7 @@ await new Command()
*/

/**
* checksync --url
* [√√] checksync --url
* [√√] header
* [√√] meta
*/

0 comments on commit 73ccbc7

Please sign in to comment.