Skip to content

Commit

Permalink
refactor: lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoVogel committed Oct 28, 2022
1 parent 0dbf2d1 commit 6a8359d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class TreeView extends BaseView {
// An angular project has its root project dir at ''
// Therefore, the map will be empty
const [[projectName, projectDef]] = Object.entries(projectDefs);
return [this.createProjectTreeItem([projectName, projectDef])]
return [this.createProjectTreeItem([projectName, projectDef])];
}

const rootFolders = this.getRootFolders(map);
Expand Down
4 changes: 2 additions & 2 deletions libs/vscode/nx-project-view/src/lib/views/nx-project-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ export function isDefined<T>(val?: T): val is T {
return !!val;
}

type DetailedDirs = [dirs: string[], root: string, api: typeof path]
type DetailedDirs = [dirs: string[], root: string, api: typeof path];

export class PathHelper {
constructor(private pathApi: typeof path = path) { }
constructor(private pathApi: typeof path = path) {}

private detailedDirs(val: string): DetailedDirs {
if (!val) return [[], '', this.pathApi];
Expand Down

0 comments on commit 6a8359d

Please sign in to comment.