Skip to content

Commit

Permalink
fix: error change in a2c92cb
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed May 1, 2023
1 parent 305908d commit ecebcc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/currentFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { commands, StatusBarAlignment, StatusBarItem, window, workspace, env } f
import { Config } from "./config";
import { QuickPicker, QuickPickerAction } from "./quickPicker";
import { PathStyles, PathStartsFrom } from "./utils/types";
import { join } from 'path';
import { join, basename } from 'path';
const clipboard= env.clipboard;


Expand Down Expand Up @@ -145,7 +145,7 @@ export class CurrentFile {
this.startsFromRootDirectoryPath = editor.document.uri.fsPath;
this.startsFromWorkSpaceHighestDirectoryPath =
editor.document.uri.fsPath;
this.name = pathModule.basename(editor.document.uri.fsPath);
this.name = basename(editor.document.uri.fsPath);

this.updateStatusBar();
this.statusBarItem.show();
Expand Down

0 comments on commit ecebcc5

Please sign in to comment.