File Explorer

/var/runtime/node_modules/@aws-sdk/node_modules/aws-crt/scripts

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

1 dir
4 files
install.js777 B · 22 lines
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */const os = require('os');const process = require("process");const path = require("path");const fs = require("fs");const getCRuntime = require("./cruntime") if (!process.argv.includes('--rebuild')) {    const binaryDir = path.join('dist', 'bin', `${os.platform()}-${os.arch()}-${getCRuntime()}`, 'aws-crt-nodejs.node');    if (fs.existsSync(binaryDir)) {        // Don't continue if the binding already exists (unless --rebuild is specified)        console.log("The binding already exists, skip rebuilding. To rebuild the native addon, please run install.js with `--rebuild`")        process.exit(0);    }} // Run the buildrequire('./build.js');