Skip to content

Commit 5acf5e7

Browse files
Javascript: move import into example snippet in AWS S3 (#7180)
move import into example snippet
1 parent 6369984 commit 5acf5e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

javascriptv3/example_code/s3/scenarios/multipart-download.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
import { fileURLToPath } from "node:url";
5-
64
// snippet-start:[javascript.v3.s3.scenarios.multipartdownload]
5+
import { fileURLToPath } from "node:url";
76
import { GetObjectCommand, NoSuchKey, S3Client } from "@aws-sdk/client-s3";
87
import { createWriteStream, rmSync } from "node:fs";
98

0 commit comments

Comments
 (0)