Skip to content

Commit 8c37c7d

Browse files
committed
ヘルパー関数もエクスポート
1 parent 14fc85d commit 8c37c7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands/compose.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { createMultiStepInput } from '../utils/createMultiStepInput';
1212
* @param path 相対/絶対パス
1313
* @return ファイル名
1414
*/
15-
const getFilenameFromPath = (path: string) => {
15+
export const getFilenameFromPath = (path: string) => {
1616
const splitPath = path.split('/');
1717
return splitPath[splitPath.length - 1].split('.')[0];
1818
};

src/commands/editTags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { window } from 'vscode';
44
import { client } from '../client';
55
import { makeQuickPickItemFromTag, tagQuickPickCreator } from '../quickpicks/tagQuickPickCreator';
66

7-
const updater = async (item: Item, selectedItems: ReadonlyArray<QuickPickItem>) => {
7+
export const updater = async (item: Item, selectedItems: ReadonlyArray<QuickPickItem>) => {
88
const taggings = selectedItems.map((item) => ({
99
name: item.label,
1010
versions: [],

0 commit comments

Comments
 (0)