質問するログイン新規登録

質問編集履歴

1

誤字修正

2021/08/18 12:05

投稿

west_side_park
west_side_park

スコア45

title CHANGED
File without changes
body CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  const filepath = '../image/test.jpg';
13
13
  const reFilename = 'test2.jpg';
14
- const reFilepath = `../imaga/${reFilename}`;
14
+ const reFilepath = `../image/${reFilename}`;
15
15
  fs.rename(filepath, reFilepath, (err) => {
16
16
  if (err) throw err;
17
17
  const uploadFile = fs.readSync(reFilepath);