Skip to content

Commit f1c5315

Browse files
committed
clean import
1 parent 4ddd5bc commit f1c5315

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/command/render/render-contexts.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,13 @@ import { ExecutionEngine, ExecutionTarget } from "../../execute/types.ts";
6363
import {
6464
deleteProjectMetadata,
6565
directoryMetadataForInputFile,
66-
projectTypeIsWebsite,
6766
toInputRelativePaths,
6867
} from "../../project/project-shared.ts";
6968
import {
7069
kProjectLibDir,
7170
kProjectType,
7271
ProjectContext,
7372
} from "../../project/types.ts";
74-
import { isHtmlDashboardOutput, isHtmlOutput } from "../../config/format.ts";
75-
import { formatHasBootstrap } from "../../format/html/format-html-info.ts";
7673
import { warnOnce } from "../../core/log.ts";
7774
import { dirAndStem } from "../../core/path.ts";
7875
import { fileExecutionEngineAndTarget } from "../../execute/engine.ts";

src/core/jupyter/jupyter-embed.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ import {
4343
JupyterCellOutput,
4444
} from "../jupyter/types.ts";
4545

46-
import { dirname, extname, join, basename, isAbsolute } from "../../deno_ral/path.ts";
46+
import {
47+
basename,
48+
dirname,
49+
extname,
50+
isAbsolute,
51+
join,
52+
} from "../../deno_ral/path.ts";
4753
import { languages } from "../handlers/base.ts";
4854
import {
4955
extractJupyterWidgetDependencies,
@@ -596,6 +602,7 @@ async function getCachedNotebookInfo(
596602
quiet: flags.quiet,
597603
previewServer: context.options.previewServer,
598604
handledLanguages: languages(),
605+
project: context.project,
599606
};
600607

601608
const [dir, stem] = dirAndStem(nbAddress.path);

0 commit comments

Comments
 (0)