Refactor out of utils
This commit is contained in:
1 parent
7c21a4c833
commit
40f7942801
8 files changed
+7
-11
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import * as path from "path"
|
||||
import * as os from "os"
|
||||
import * as vscode from "vscode"
|
||||
import { arePathsEqual } from "../../utils/path-helpers"
|
||||
import { arePathsEqual } from "../../utils/path"
|
||||
|
||||
export async function openImage(dataUri: string) {
|
||||
const matches = dataUri.match(/^data:image\/([a-zA-Z]+);base64,(.+)$/)
|
||||
|
||||
Reference in new issue
Block a user