Skip to content

Commit

Permalink
repalce -> replace
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanachanm authored and albb0920 committed Oct 6, 2020
1 parent 628ff5d commit 0fc26b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/url.js
Expand Up @@ -3,6 +3,6 @@ module.exports = Object.assign(
require("rollup-plugin-node-polyfills/polyfills/url.js"),
{
pathToFileURL: (path)=> { return `file:///${encodeURIComponent(path)}` },
fileURLToPath: (fileURL)=> { return decodeURIComponent(fileURL.repalce(/^file:\/\/\//, '')) }
fileURLToPath: (fileURL)=> { return decodeURIComponent(fileURL.replace(/^file:\/\/\//, '')) }
}
)

0 comments on commit 0fc26b5

Please sign in to comment.