Skip to content

Commit

Permalink
Remove logging, add "browser" field
Browse files Browse the repository at this point in the history
  • Loading branch information
tomayac committed Apr 14, 2022
1 parent f9fabbe commit b3be8c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browser-fs-access",
"version": "0.27.0",
"version": "0.28.0",
"description": "File System Access API with legacy fallback in the browser.",
"type": "module",
"source": "./src/index.js",
Expand All @@ -14,6 +14,7 @@
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"browser": "./dist/index.mjs",
"types": "./index.d.ts",
"files": [
"dist/",
Expand Down
7 changes: 0 additions & 7 deletions src/fs-access/file-save.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@ export default async (
}
}
}
console.log({
suggestedName: options[0].fileName,
id: options[0].id,
startIn: options[0].startIn,
types,
excludeAcceptAllOption: options[0].excludeAcceptAllOption || false,
});
const handle =
existingHandle ||
(await window.showSaveFilePicker({
Expand Down

0 comments on commit b3be8c6

Please sign in to comment.