capitalize file name

pull/4157/head
aniket-engg 1 year ago committed by Aniket
parent 1dc3078e97
commit 338d706a35
  1. 2
      apps/remix-ide-e2e/src/tests/homeTab.test.ts
  2. 4
      libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx
  3. 2
      libs/remix-ws-templates/src/templates/playground/index.ts

@ -12,6 +12,6 @@ module.exports = {
browser
.waitForElementVisible('*[data-id="homeTabStartCoding"]')
.click('*[data-id="homeTabStartCoding"]')
.waitForElementVisible('div[data-id="treeViewDivtreeViewItemcontracts/helloWorld.sol"]')
.waitForElementVisible('div[data-id="treeViewDivtreeViewItemcontracts/HelloWorld.sol"]')
}
}

@ -151,10 +151,10 @@ function HomeTabFile({ plugin }: HomeTabFileProps) {
}
`
if (createFile) {
const { newPath } = await plugin.call('fileManager', 'writeFileNoRewrite', '/contracts/helloWorld.sol', content)
const { newPath } = await plugin.call('fileManager', 'writeFileNoRewrite', '/contracts/HelloWorld.sol', content)
await plugin.call('fileManager', 'open', newPath)
} else {
await plugin.call('fileManager', 'open', '/contracts/helloWorld.sol')
await plugin.call('fileManager', 'open', '/contracts/HelloWorld.sol')
}
}

@ -1,7 +1,7 @@
export default async () => {
return {
// @ts-ignore
'contracts/helloWorld.sol': (await import('raw-loader!./contracts/helloWorld.sol')).default,
'contracts/HelloWorld.sol': (await import('raw-loader!./contracts/HelloWorld.sol')).default,
// @ts-ignore
'scripts/deploy_with_ethers.ts': (await import('!!raw-loader!./scripts/deploy_with_ethers.ts')).default,
// @ts-ignore

Loading…
Cancel
Save