Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
Lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
xnkevinnguyen committed Apr 13, 2020
1 parent 3b2b052 commit 416c63c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ export async function activate(context: vscode.ExtensionContext) {
// base_64 strings on UNIX systems.

// added any incomplete data to beginning
let processedData = pythonProcessDataBuffer
const processedData = pythonProcessDataBuffer
.join("")
.concat(dataFromTheProcess);
pythonProcessDataBuffer = [];
Expand Down
4 changes: 2 additions & 2 deletions src/view/components/clue/ClueSimulator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import {
VIEW_STATE,
WEBVIEW_MESSAGES,
} from "../../constants";
import { ViewStateContext } from "../../context";
import "../../styles/Simulator.css";
import "../../styles/Simulator.css";
import PlayLogo from "../../svgs/play_svg";
import StopLogo from "../../svgs/stop_svg";
import { sendMessage } from "../../utils/MessageUtils";
import ActionBar from "../simulator/ActionBar";
import { BUTTONS_KEYS, ClueImage } from "./ClueImage";
import "../../styles/Simulator.css";
import { ViewStateContext } from "../../context";

export const DEFAULT_CLUE_STATE: IClueState = {
buttons: { button_a: false, button_b: false },
Expand Down
4 changes: 2 additions & 2 deletions src/view/components/clue/Clue_svg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Licensed under the MIT license.

import * as React from "react";
import { CLUE_LEDS_COLORS, CONSTANTS } from "../../constants";
import "../../styles/SimulatorSvg.css";
import { DEFAULT_CLUE_STATE } from "./ClueSimulator";
import { CONSTANTS, CLUE_LEDS_COLORS } from "../../constants";
import svg from "../cpx/Svg_utils";
import { DEFAULT_CLUE_STATE } from "./ClueSimulator";
export interface IRefObject {
[key: string]: React.RefObject<SVGRectElement>;
}
Expand Down

0 comments on commit 416c63c

Please sign in to comment.