Prettier 2.0 (#393)

This commit is contained in:
Steve Faulkner
2021-01-20 09:15:01 -06:00
committed by GitHub
parent c1937ca464
commit 4be53284b5
500 changed files with 41927 additions and 41838 deletions

View File

@@ -26,7 +26,7 @@ export class NotebookUtil {
name,
path,
type: NotebookUtil.getType(type),
timestamp: NotebookUtil.getCurrentTimestamp()
timestamp: NotebookUtil.getCurrentTimestamp(),
};
}
@@ -66,7 +66,7 @@ export class NotebookUtil {
return {
cwd,
kernelSpecName
kernelSpecName,
};
}
@@ -149,7 +149,7 @@ export class NotebookUtil {
const cell = notebookObject.cellMap.get(cellId);
if (cell?.cell_type === "code") {
const displayOutput = (cell as ImmutableCodeCell)?.outputs?.find(
output => output.output_type === "display_data" || output.output_type === "execute_result"
(output) => output.output_type === "display_data" || output.output_type === "execute_result"
);
if (displayOutput) {
return codeCellIndex;