Skip to content

Commit 151883e

Browse files
fix lint
1 parent 0e8a02f commit 151883e

File tree

10 files changed

+93
-25
lines changed

10 files changed

+93
-25
lines changed

ASP.NET Core/package-lock.json

Lines changed: 41 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ASP.NET Core/wwwroot/css/Site.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
#request-panel {
2222
min-width: 505px;
2323
height: 400px;
24-
overflow-x: hidden;
25-
overflow-y: auto;
24+
overflow-x: hidden auto;
2625
padding: 18px;
2726
margin-top: 40px;
2827
background-color: rgba(191 191 191 / 15%);

Angular/package-lock.json

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Angular/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class AppComponent {
5353
return this.amazon.uploadFileChunk(file, uploadInfo, undefined);
5454
}
5555

56-
async abortUpload(file: File, uploadInfo: UploadInfo): Promise<any> {
56+
async abortUpload(file: File, uploadInfo?: UploadInfo): Promise<any> {
5757
return this.amazon.abortFileUpload(file, uploadInfo, undefined);
5858
}
5959

Vue/package-lock.json

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Vue/src/components/HomeContent.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ const uploadChunk = async(file: File, uploadInfo: UploadInfo): Promise<any> => {
3434
await amazon.uploadFileChunk(file, uploadInfo, undefined);
3535
};
3636
37-
const abortUpload = async(file: File, uploadInfo: UploadInfo): Promise<any> => {
38-
console.log('abort');
37+
const abortUpload = async(file: File, uploadInfo?: UploadInfo): Promise<any> => {
3938
await amazon.abortFileUpload(file, uploadInfo, undefined);
4039
};
4140
@@ -143,8 +142,7 @@ const requests: Ref<{ method: string; urlPath: string; queryString: string }[]>
143142
#request-panel {
144143
min-width: 505px;
145144
height: 400px;
146-
overflow-x: hidden;
147-
overflow-y: auto;
145+
overflow: hidden auto;
148146
padding: 18px;
149147
margin-top: 40px;
150148
background-color: rgba(191, 191, 191, 0.15);

Vue/src/services/amazon.filesystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class AmazonFileSystem {
6060
return key.substring(index + 1);
6161
}
6262
/* eslint-disable-next-line vue/max-len */
63-
async abortFileUpload(fileData: File, uploadInfo: UploadInfo, destinationDirectory: FileSystemItem | undefined): Promise<any> {
63+
async abortFileUpload(fileData: File, uploadInfo?: UploadInfo, destinationDirectory?: FileSystemItem | undefined): Promise<any> {
6464
await this.gateway.abortFileUpload(fileData, uploadInfo, destinationDirectory);
6565
}
6666
/* eslint-disable-next-line vue/max-len */

Vue/src/services/amazon.gateway.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class AmazonGateway {
155155
this.removeUploadData(key);
156156
}
157157
/* eslint-disable-next-line vue/max-len */
158-
async abortFileUpload(fileData: File, uploadInfo: UploadInfo, destinationDirectory: FileSystemItem | undefined): Promise<any> {
158+
async abortFileUpload(fileData: File, uploadInfo?: UploadInfo, destinationDirectory?: FileSystemItem | undefined): Promise<any> {
159159
const key = `${destinationDirectory?.key ?? ''}${fileData.name}`;
160160
const uploadId = this.getUploadId(fileData.name);
161161
const params = { uploadId, key };

jQuery/package-lock.json

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jQuery/src/index.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
#request-panel {
2222
min-width: 505px;
2323
height: 400px;
24-
overflow-x: hidden;
25-
overflow-y: auto;
24+
overflow: hidden auto;
2625
padding: 18px;
2726
margin-top: 40px;
2827
background-color: rgba(191 191 191 / 15%);

0 commit comments

Comments
 (0)