Skip to content

Commit

Permalink
copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelizimm committed Jan 14, 2025
1 parent 8fc277c commit b6f7586
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions extensions/positron-python/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ tags
# --- Start Positron ---
python_files/positron/positron_ipykernel/tests/images
python_files/positron/positron_ipykernel/_vendor/**
scripts/*.js
# --- End Positron ---
python-env-tools/**
# coverage files produced as test output
Expand Down
5 changes: 5 additions & 0 deletions extensions/positron-python/scripts/build-pet.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (C) 2024 Posit Software, PBC. All rights reserved.
* Licensed under the Elastic License 2.0. See LICENSE.txt for license information.
*--------------------------------------------------------------------------------------------*/

import { exec } from 'child_process';

exec('nox --session native_build', (error, stdout, stderr) => {
Expand Down
4 changes: 2 additions & 2 deletions extensions/positron-python/scripts/install-pet.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*---------------------------------------------------------------------------------------------
* Copyright (C) 2023-2024 Posit Software, PBC. All rights reserved.
* Copyright (C) 2024 Posit Software, PBC. All rights reserved.
* Licensed under the Elastic License 2.0. See LICENSE.txt for license information.
*--------------------------------------------------------------------------------------------*/

Expand Down Expand Up @@ -28,7 +28,7 @@ const existsAsync = promisify(fs.exists);

// Create a promisified version of https.get. We can't use the built-in promisify
// because the callback doesn't follow the promise convention of (error, result).
const httpsGetAsync = (opts: https.RequestOptions) => {
export const httpsGetAsync = (opts: https.RequestOptions) => {
return new Promise<IncomingMessage>((resolve, reject) => {
const req = https.get(opts, resolve);
req.once('error', reject);
Expand Down

0 comments on commit b6f7586

Please sign in to comment.