Skip to content

Commit

Permalink
Fixed imports
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
  • Loading branch information
paulober committed Sep 23, 2024
1 parent efa952a commit 908ac4e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
7 changes: 2 additions & 5 deletions src/utils/examplesUtil.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ import Settings from "../settings.mjs";
import { checkForGit } from "./requirementsUtil.mjs";
import { cp } from "fs/promises";
import { get } from "https";
import {
isInternetConnected,
CURRENT_DATA_VERSION,
getDataRoot,
} from "./downloadHelpers.mjs";
import { isInternetConnected, getDataRoot } from "./downloadHelpers.mjs";
import { unknownErrorToString } from "./errorHelper.mjs";
import { CURRENT_DATA_VERSION } from "./sharedConstants.mjs";

const EXAMPLES_REPOSITORY_URL =
"https://github.com/raspberrypi/pico-examples.git";
Expand Down
6 changes: 2 additions & 4 deletions src/utils/githubApiCache.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ import type { GithubReleaseResponse, GithubRepository } from "./githubREST.mjs";
import Logger, { LoggerSource } from "../logger.mjs";
import { getDataRoot } from "./downloadHelpers.mjs";
import { get } from "https";
import {
isInternetConnected,
CURRENT_DATA_VERSION,
} from "./downloadHelpers.mjs";
import { isInternetConnected } from "./downloadHelpers.mjs";
import { join as joinPosix } from "path/posix";
import { readFileSync } from "fs";
import { unknownErrorToString } from "./errorHelper.mjs";
import { CURRENT_DATA_VERSION } from "./sharedConstants.mjs";

/**
* Tells if the stored data is a GithubReleaseResponse (data of a specific release)
Expand Down
6 changes: 2 additions & 4 deletions src/utils/toolchainUtil.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import { join } from "path";
import Logger from "../logger.mjs";
import { readdirSync, statSync, readFileSync } from "fs";
import { getDataRoot } from "./downloadHelpers.mjs";
import {
isInternetConnected,
CURRENT_DATA_VERSION,
} from "./downloadHelpers.mjs";
import { isInternetConnected } from "./downloadHelpers.mjs";
import { CURRENT_DATA_VERSION } from "./sharedConstants.mjs";

const iniUrl =
"https://raspberrypi.github.io/pico-vscode/" +
Expand Down

0 comments on commit 908ac4e

Please sign in to comment.