Unverified Commit 74b85ce5 authored by David Disu's avatar David Disu Committed by GitHub

Merge pull request #827 from ethereum/bump-remixd

Bump remixd version and fixed file creation error for localhost
parents a609efc3 aabed16b
...@@ -217,7 +217,7 @@ export const FileExplorer = (props: FileExplorerProps) => { ...@@ -217,7 +217,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
}, [state.modals]) }, [state.modals])
const resolveDirectory = async (folderPath, dir: File[], isChild = false): Promise<File[]> => { const resolveDirectory = async (folderPath, dir: File[], isChild = false): Promise<File[]> => {
if (!isChild && (state.focusEdit.element === 'browser/blank') && state.focusEdit.isNew && (dir.findIndex(({ path }) => path === 'browser/blank') === -1)) { if (!isChild && (state.focusEdit.element === `${name}/blank`) && state.focusEdit.isNew && (dir.findIndex(({ path }) => path === `${name}/blank`) === -1)) {
dir = state.focusEdit.type === 'file' ? [...dir, { dir = state.focusEdit.type === 'file' ? [...dir, {
path: state.focusEdit.element, path: state.focusEdit.element,
name: '', name: '',
......
{ {
"name": "@remix-project/remixd", "name": "@remix-project/remixd",
"version": "0.2.4-alpha.1", "version": "0.3.0",
"description": "remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section)", "description": "remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section)",
"main": "index.js", "main": "index.js",
"types": "./index.d.ts", "types": "./index.d.ts",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment