Skip to content

Commit 482ba4b

Browse files
authored
Update server.mdx (modelcontextprotocol#149)
Cleaner and more direct since it uses the system's chmod command directly rather than going through Node.js.
1 parent adc70f0 commit 482ba4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickstart/server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ Update your package.json to add type: "module" and a build script:
386386
"weather": "./build/index.js"
387387
},
388388
"scripts": {
389-
"build": "tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"",
389+
"build": "tsc && chmod 755 build/index.js",
390390
},
391391
"files": [
392392
"build"

0 commit comments

Comments
 (0)